diff --git a/MUOR/MUOR/urls.py b/MUOR/MUOR/urls.py index a5b993210..6522d33e7 100644 --- a/MUOR/MUOR/urls.py +++ b/MUOR/MUOR/urls.py @@ -26,6 +26,7 @@ urlpatterns = [ path('', include('django.contrib.auth.urls')), path('signup/', SignUpView.as_view(), name='signup'), 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( url=staticfiles_storage.url('images/favicon.ico'))), ] diff --git a/MUOR/MUOR/views.py b/MUOR/MUOR/views.py index 776825dac..d30bbf36a 100644 --- a/MUOR/MUOR/views.py +++ b/MUOR/MUOR/views.py @@ -1,5 +1,4 @@ from django.contrib.auth.forms import UserCreationForm -from django.shortcuts import redirect from django.urls import reverse_lazy from django.views import generic diff --git a/MUOR/templates/session_refresh.html b/MUOR/templates/session_refresh.html new file mode 100644 index 000000000..034de8a88 --- /dev/null +++ b/MUOR/templates/session_refresh.html @@ -0,0 +1,9 @@ + + +
+ +