fixing annoying bug
This commit is contained in:
@@ -58,10 +58,10 @@ urlpatterns += [
|
||||
re_path(r'^getblogs/$',rowersviews.get_blog_posts),
|
||||
re_path(r'^login/',
|
||||
# auth_views.LoginView,
|
||||
auth_views.LoginView,
|
||||
auth_views.LoginView.as_view(),
|
||||
name='login'),
|
||||
re_path(r'^logout/$',
|
||||
auth_views.LogoutView,
|
||||
auth_views.LogoutView.as_view(),
|
||||
{'next_page': '/'},
|
||||
name='logout',),
|
||||
re_path(r'^rowers/',include('rowers.urls')),
|
||||
|
||||
Reference in New Issue
Block a user