Skip to content

Commit

Permalink
Using new urls way
Browse files Browse the repository at this point in the history
  • Loading branch information
seocam committed Oct 31, 2016
1 parent 57b10a4 commit 7fb3d82
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.conf.urls import patterns, url
from django.conf.urls import url
from django.contrib.auth.views import login

urlpatterns = patterns('', # noqa
url(r'^accounts/login/$', 'django.contrib.auth.views.login', name='login'),
)
urlpatterns = [
url(r'^accounts/login/$', login, name='login'),
]

0 comments on commit 7fb3d82

Please sign in to comment.