Add LoginRequiredMixin mixin for various views
This commit is contained in:
parent
0591a186d8
commit
c3b8f7b553
2 changed files with 7 additions and 5 deletions
|
|
@ -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"),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue