Add LoginRequiredMixin mixin for various views

This commit is contained in:
PCoder 2019-02-24 20:13:09 +01:00
commit c3b8f7b553
2 changed files with 7 additions and 5 deletions

View file

@ -16,5 +16,5 @@ urlpatterns = [
path('logout/', LogOut.as_view(), name="logout"),
path('reset/<str:user>/<str:token>/', ResetRequest.as_view()),
path('reset/', ResetRequest.as_view(), name="reset"),
path('', Index.as_view(), name="index"),
path('', Index.as_view(), name="login_index"),
]