11 New User Notifications
Select a tab above to activate This blank page message helps protect your privacy, or you can show the first message here automatically through settings page
- Melissa Ayre INBOX Re: New security codes Hello again and thanks for being part... 56 seconds ago
- Adison Lee Msed quia non numquam eius 2 minutes ago
- Oliver Kopyuv Msed quia non numquam eius 3 days ago
- Dr. John Cook PhD Msed quia non numquam eius 2 weeks ago
- Sarah McBrook Msed quia non numquam eius 3 weeks ago
- Anothony Bezyeth Msed quia non numquam eius one month ago
- Lisa Hatchensen Msed quia non numquam eius one year ago
-
Administrator UPDATE System updated to version 4.5.1 (patch notes) 5 mins ago
-
Adison Lee replied to your video Cancer Drug Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day... 10 minutes ago
[your date here]
|
||||||
---|---|---|---|---|---|---|
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
30 | 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | 1 | 2 | 3 |
2:30PM - Doctor's appointment
3:30PM - Report overview
4:30PM - Meeting with Donnah V.
5:30PM - Late Lunch
6:30PM - Report Compression
Logout Logout from Django Sadjcore Utilities to log out from a SmartAdmin for Django application
You are not currently logged in via the Django authentication system, please login to access more functionality.
Logout Integration
Logout is via a popup, which can be invoked via data-toggle and data-target attributes on a suitable control element:
<a href="#" class="header-icon" data-toggle="modal" data-target="#logout-modal-alert"><i class="fal fa-sign-out-alt"></i></a>
The logout popup and associated code are included by this line in the demoframe template:
{% include 'sadjcore/fragments/logoutpopup.html' %}
When accessing these pages via the sadjdemo
app, there is a logout icon in the demoframe.html
template, which displays whenever the user is logged in.
The 'Logout' button on the popup redirects to the Django admin logout function using a sadjcore method which is invoked by the sadj-action attribute on the button
element:
sadj-action="redirect" data-url="/demo/logout" data-dismiss="modal"
The Django view is then configured to redirect back to the login page by the entry in sadjdemo.urls:
path('logout/', auth_views.LogoutView.as_view(next_page=f'/{url_prefix}/login'), name='logout')