Skip to content

Commit

Permalink
Give the empty-key path a name.
Browse files Browse the repository at this point in the history
  • Loading branch information
fajran committed Mar 4, 2010
1 parent 306c195 commit 8fbe601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loginurl/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
urlpatterns = patterns('',
(r'^cleanup/$', cleanup),
(r'^(?P<key>[0-9A-Za-z]+-[a-z0-9-]+)/$', login),
(r'^$', redirect_to, {'url': settings.LOGIN_URL}),
url(r'^$', redirect_to, {'url': settings.LOGIN_URL}, name='loginurl-index'),
)

0 comments on commit 8fbe601

Please sign in to comment.