add view for session refresh
This commit is contained in:
parent
9457642206
commit
09b99f022a
@ -26,6 +26,7 @@ urlpatterns = [
|
|||||||
path('', include('django.contrib.auth.urls')),
|
path('', include('django.contrib.auth.urls')),
|
||||||
path('signup/', SignUpView.as_view(), name='signup'),
|
path('signup/', SignUpView.as_view(), name='signup'),
|
||||||
path('', TemplateView.as_view(template_name='home.html'), name='home'),
|
path('', TemplateView.as_view(template_name='home.html'), name='home'),
|
||||||
|
path("session-refresh/", TemplateView.as_view(template_name='session_refresh.html'), name='session-refresh'),
|
||||||
path('favicon.ico', RedirectView.as_view(
|
path('favicon.ico', RedirectView.as_view(
|
||||||
url=staticfiles_storage.url('images/favicon.ico'))),
|
url=staticfiles_storage.url('images/favicon.ico'))),
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
from django.contrib.auth.forms import UserCreationForm
|
from django.contrib.auth.forms import UserCreationForm
|
||||||
from django.shortcuts import redirect
|
|
||||||
from django.urls import reverse_lazy
|
from django.urls import reverse_lazy
|
||||||
from django.views import generic
|
from django.views import generic
|
||||||
|
|
||||||
|
9
MUOR/templates/session_refresh.html
Normal file
9
MUOR/templates/session_refresh.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>session_refresh</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user