-
diff --git a/tests/modeltests/test_client/urls.py b/tests/modeltests/test_client/urls.py
index 9e0eabe..c2e7d15 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns |
2 | 2 | from django.views.generic.simple import redirect_to |
3 | 3 | import views |
4 | 4 | |
-
diff --git a/tests/regressiontests/admin_views/urls.py b/tests/regressiontests/admin_views/urls.py
index f3f1fbd..57c157e 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, include |
2 | 2 | from django.contrib import admin |
3 | 3 | import views |
4 | 4 | import customadmin |
-
diff --git a/tests/regressiontests/admin_widgets/urls.py b/tests/regressiontests/admin_widgets/urls.py
index af73d53..2ad23c1 100644
a
|
b
|
|
1 | | |
2 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, include |
3 | 2 | import widgetadmin |
4 | 3 | |
5 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/comment_tests/urls.py b/tests/regressiontests/comment_tests/urls.py
index 0058689..2a16e05 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | |
3 | 3 | urlpatterns = patterns('regressiontests.comment_tests.custom_comments.views', |
4 | 4 | url(r'^post/$', 'custom_submit_comment'), |
-
diff --git a/tests/regressiontests/comment_tests/urls_admin.py b/tests/regressiontests/comment_tests/urls_admin.py
index 341285d..7958fc1 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, include |
2 | 2 | from django.contrib import admin |
3 | 3 | from django.contrib.comments.admin import CommentsAdmin |
4 | 4 | from django.contrib.comments.models import Comment |
-
diff --git a/tests/regressiontests/conditional_processing/urls.py b/tests/regressiontests/conditional_processing/urls.py
index 4dbe11a..932f0fe 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns |
2 | 2 | import views |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/context_processors/urls.py b/tests/regressiontests/context_processors/urls.py
index 30728c8..21c0c4c 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | |
3 | 3 | import views |
4 | 4 | |
-
diff --git a/tests/regressiontests/file_uploads/urls.py b/tests/regressiontests/file_uploads/urls.py
index 413080e..1880a3b 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns |
2 | 2 | import views |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/formwizard/urls.py b/tests/regressiontests/formwizard/urls.py
index d964bc6..e4e6e4e 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | from forms import ContactWizard, Page1, Page2, Page3 |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/generic_inline_admin/urls.py b/tests/regressiontests/generic_inline_admin/urls.py
index c3e8af8..154e303 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, include |
2 | 2 | from django.contrib import admin |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/generic_views/urls.py b/tests/regressiontests/generic_views/urls.py
index 548d10d..5081943 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | from django.views.generic import TemplateView |
3 | 3 | |
4 | 4 | import views |
-
diff --git a/tests/regressiontests/middleware_exceptions/urls.py b/tests/regressiontests/middleware_exceptions/urls.py
index 5b477a4..2ace688 100644
a
|
b
|
|
1 | 1 | # coding: utf-8 |
2 | | from django.conf.urls.defaults import * |
| 2 | from django.conf.urls.defaults import patterns |
3 | 3 | |
4 | 4 | import views |
5 | 5 | |
-
diff --git a/tests/regressiontests/special_headers/urls.py b/tests/regressiontests/special_headers/urls.py
index c6b05d6..4644c69 100644
a
|
b
|
|
1 | 1 | # coding: utf-8 |
2 | | from django.conf.urls.defaults import * |
| 2 | from django.conf.urls.defaults import patterns |
3 | 3 | from django.views.generic.list_detail import object_detail |
4 | 4 | from models import Article |
5 | 5 | import views |
-
diff --git a/tests/regressiontests/staticfiles_tests/urls/default.py b/tests/regressiontests/staticfiles_tests/urls/default.py
index 061ec64..502841b 100644
a
|
b
|
|
1 | 1 | from django.conf import settings |
2 | | from django.conf.urls.defaults import * |
| 2 | from django.conf.urls.defaults import patterns, url |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
5 | 5 | url(r'^static/(?P<path>.*)$', 'django.contrib.staticfiles.views.serve'), |
-
diff --git a/tests/regressiontests/syndication/urls.py b/tests/regressiontests/syndication/urls.py
index 881fa48..7704078 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns |
2 | 2 | |
3 | 3 | import feeds |
4 | 4 | |
-
diff --git a/tests/regressiontests/templates/urls.py b/tests/regressiontests/templates/urls.py
index 28d4133..5460f36 100644
a
|
b
|
|
1 | 1 | # coding: utf-8 |
2 | | from django.conf.urls.defaults import * |
| 2 | from django.conf.urls.defaults import patterns, url |
3 | 3 | from regressiontests.templates import views |
4 | 4 | |
5 | 5 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/test_client_regress/urls.py b/tests/regressiontests/test_client_regress/urls.py
index 650d80b..325ef91 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | from django.views.generic.simple import redirect_to |
3 | 3 | import views |
4 | 4 | |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/extra_urls.py b/tests/regressiontests/urlpatterns_reverse/extra_urls.py
index c171f6d..3a56f2d 100644
a
|
b
|
|
2 | 2 | Some extra URL patterns that are included at the top level. |
3 | 3 | """ |
4 | 4 | |
5 | | from django.conf.urls.defaults import * |
| 5 | from django.conf.urls.defaults import patterns, url, include |
6 | 6 | from views import empty_view |
7 | 7 | |
8 | 8 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/included_named_urls.py b/tests/regressiontests/urlpatterns_reverse/included_named_urls.py
index b3f7903..aec96c5 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | from views import empty_view |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/included_named_urls2.py b/tests/regressiontests/urlpatterns_reverse/included_named_urls2.py
index 96c42c3..65d2178 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patters, url |
2 | 2 | from views import empty_view |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py b/tests/regressiontests/urlpatterns_reverse/included_namespace_urls.py
index 16887e2..86c48b5 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | from namespace_urls import URLObject |
3 | 3 | from views import view_class_instance |
4 | 4 | |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/included_urls.py b/tests/regressiontests/urlpatterns_reverse/included_urls.py
index f8acf34..4c5327b 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | from views import empty_view |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/included_urls2.py b/tests/regressiontests/urlpatterns_reverse/included_urls2.py
index f414ca6..f130275 100644
a
|
b
|
each name to resolve and Django must distinguish the possibilities based on the
|
5 | 5 | argument list. |
6 | 6 | """ |
7 | 7 | |
8 | | from django.conf.urls.defaults import * |
| 8 | from django.conf.urls.defaults import patterns, url |
9 | 9 | from views import empty_view |
10 | 10 | |
11 | 11 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/named_urls.py b/tests/regressiontests/urlpatterns_reverse/named_urls.py
index d8a61a1..0ee8c40 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | from views import empty_view |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/namespace_urls.py b/tests/regressiontests/urlpatterns_reverse/namespace_urls.py
index 3d34049..ed32fcc 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | from views import view_class_instance |
3 | 3 | |
4 | 4 | class URLObject(object): |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/no_urls.py b/tests/regressiontests/urlpatterns_reverse/no_urls.py
index c9b9efe..a8fcc4c 100644
a
|
b
|
|
1 | | #from django.conf.urls.defaults import * |
| 1 | #from django.conf.urls.defaults import patterns, url, include |
2 | 2 | |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/urlconf_inner.py b/tests/regressiontests/urlpatterns_reverse/urlconf_inner.py
index d188e06..c9f0e7b 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url |
2 | 2 | from django.template import Template, Context |
3 | 3 | from django.http import HttpResponse |
4 | 4 | |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/urlconf_outer.py b/tests/regressiontests/urlpatterns_reverse/urlconf_outer.py
index 506e036..5d19cab 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | |
3 | 3 | import urlconf_inner |
4 | 4 | |
-
diff --git a/tests/regressiontests/urlpatterns_reverse/urls.py b/tests/regressiontests/urlpatterns_reverse/urls.py
index c603c02..ea75db7 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, url, include |
2 | 2 | from views import empty_view, absolute_kwargs_view |
3 | 3 | |
4 | 4 | other_patterns = patterns('', |
-
diff --git a/tests/regressiontests/utils/urls.py b/tests/regressiontests/utils/urls.py
index ba09d14..3d4cfe1 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns |
2 | 2 | |
3 | 3 | import views |
4 | 4 | |
-
diff --git a/tests/regressiontests/views/urls.py b/tests/regressiontests/views/urls.py
index d1412cd..a1b80c1 100644
a
|
b
|
|
1 | 1 | # coding: utf-8 |
2 | 2 | from os import path |
3 | 3 | |
4 | | from django.conf.urls.defaults import * |
| 4 | from django.conf.urls.defaults import patterns, url, include |
5 | 5 | |
6 | 6 | from models import * |
7 | 7 | import views |
-
diff --git a/tests/urls.py b/tests/urls.py
index 01d6408..c042b6b 100644
a
|
b
|
|
1 | | from django.conf.urls.defaults import * |
| 1 | from django.conf.urls.defaults import patterns, include |
2 | 2 | |
3 | 3 | urlpatterns = patterns('', |
4 | 4 | # test_client modeltest urls |