Browse Source

Add name to logout url.

feature/python-error-tracking
Drew Larson 9 years ago
parent
commit
a254fa1e3b
  1. 2
      bikeshop_project/bikeshop/urls.py

2
bikeshop_project/bikeshop/urls.py

@ -25,7 +25,7 @@ from registration import urls as member_urls
urlpatterns = [ urlpatterns = [
url(r'^', include(core_urls)), url(r'^', include(core_urls)),
url(r'^login/', login, {'template_name': 'login.html'}, name='login'), url(r'^login/', login, {'template_name': 'login.html'}, name='login'),
url(r'^logout/', logout_then_login), url(r'^logout/', logout_then_login, name='logout'),
url(r'^member/', include(member_urls)), url(r'^member/', include(member_urls)),
url(r'^admin/', admin.site.urls), url(r'^admin/', admin.site.urls),
] ]

Loading…
Cancel
Save