InvenTree
++ +
{% trans "You have been logged out" %}
+ +diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index 28854e311d..88160e76c1 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -133,7 +133,7 @@ urlpatterns = [ url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')), url(r'^login/?', auth_views.LoginView.as_view(), name='login'), - url(r'^logout/', auth_views.LogoutView.as_view(template_name='registration/logout.html'), name='logout'), + url(r'^logout/', auth_views.LogoutView.as_view(template_name='registration/logged_out.html'), name='logout'), url(r'^settings/', include(settings_urls)), diff --git a/InvenTree/templates/registration/logged_out.html b/InvenTree/templates/registration/logged_out.html new file mode 100644 index 0000000000..b23ba001e2 --- /dev/null +++ b/InvenTree/templates/registration/logged_out.html @@ -0,0 +1,59 @@ +{% load static %} +{% load i18n %} +{% load crispy_forms_tags %} + + + +
+ + + + + + + + + + + + + + + + + + + +{% trans "You have been logged out" %}
+ +{% trans "You have been logged out" %}
-{% trans 'Click' %} {% trans 'here to log in
' %} -{% endblock %} \ No newline at end of file