diff options
| author | Ben Firshman | 2014-09-20 18:43:26 -0700 |
|---|---|---|
| committer | Ben Firshman | 2014-09-20 19:04:11 -0700 |
| commit | 0158a679083f030980e5463b2e7af906423cf6b0 (patch) | |
| tree | e3f413536a1ebdb870509282e5a31168c905b043 /src/shorturls/urls.py | |
| parent | 81e40532dcdcf3844d12a08e4a8cd38370b45d17 (diff) | |
| download | django-shorturls-0158a679083f030980e5463b2e7af906423cf6b0.tar.bz2 | |
Add support for Django 1.7, remove 1.2 and 1.3
Diffstat (limited to 'src/shorturls/urls.py')
| -rw-r--r-- | src/shorturls/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shorturls/urls.py b/src/shorturls/urls.py index b81e24d..bc28d6b 100644 --- a/src/shorturls/urls.py +++ b/src/shorturls/urls.py @@ -1,9 +1,9 @@ from django.conf import settings -from django.conf.urls.defaults import * +from django.conf.urls import * urlpatterns = patterns('', url( regex = '^(?P<prefix>%s)(?P<tiny>\w+)$' % '|'.join(settings.SHORTEN_MODELS.keys()), view = 'shorturls.views.redirect', ), -)
\ No newline at end of file +) |
