diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-25 08:37:49 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-25 08:37:49 -0400 |
| commit | 46b1d7b7a0459a47d21c44724bd6a0942049bed4 (patch) | |
| tree | 6331308d4c47dcedc8aaf9f778bc377c2043208b /svntogit | |
| parent | c8eef02b0c46fde79d9168ddeac5e0952650f496 (diff) | |
Removed usage of django.conf.urls.patterns().
Diffstat (limited to 'svntogit')
| -rw-r--r-- | svntogit/urls.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/svntogit/urls.py b/svntogit/urls.py index 219f4926..18fd93d8 100644 --- a/svntogit/urls.py +++ b/svntogit/urls.py @@ -1,13 +1,10 @@ """ Legacy URLs for changesets. """ - -from __future__ import absolute_import - -from django.conf.urls import patterns +from django.conf.urls import url from .views import redirect_to_github -urlpatterns = patterns('', - (r'^(\d+)/?$', redirect_to_github), -) +urlpatterns = [ + url(r'^(\d+)/?$', redirect_to_github), +] |
