Fix the regex for the login view
This commit is contained in:
parent
eacaa2db3a
commit
4dc5f872cf
1 changed files with 1 additions and 1 deletions
2
urls.py
2
urls.py
|
@ -11,7 +11,7 @@ admin.autodiscover()
|
|||
urlpatterns = patterns('',
|
||||
url(r'^%s(?P<path>.*)$' % re.escape(settings.STATIC_URL.lstrip('/')), 'django.contrib.staticfiles.views.serve', {'insecure': True}),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^login/', views.login, name='login'),
|
||||
url(r'^login/$', views.login, name='login'),
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'', include('social_auth.urls')),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue