Permalink
Browse files

Update urls.py

  • Loading branch information...
1 parent 376bd9e commit 18c54a73bf612f41eb45f97074d7427b897314c8 @mutaku committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 urls.py
View
2 urls.py
@@ -26,6 +26,6 @@
# get a url for redirection /shorty
url(r'^(?P<short>[0-9a-zA-Z]+)/$', 'shortener.views.detail'),
# send a url to be shortened from /url/someencodedurl
- url(r'^url/\d+$', 'shortener.views.submit'),
+ url(r'^url/$', 'shortener.views.submit'),
)

0 comments on commit 18c54a7

Please sign in to comment.