diff options
Diffstat (limited to 'tests/urls.py')
| -rw-r--r-- | tests/urls.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/urls.py b/tests/urls.py index 778f417..326c61a 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -1,14 +1,12 @@ """ -URLpatterns for the debug toolbar. +URLpatterns for the debug toolbar. These should not be loaded explicitly; the debug toolbar middleware will patch this into the urlconf for the request. """ + +from django.conf.urls import patterns, url from django.contrib import admin -try: - from django.conf.urls import patterns, url -except ImportError: # django < 1.4 - from django.conf.urls.defaults import patterns, url admin.autodiscover() |
