summaryrefslogtreecommitdiff
path: root/tests/file_storage
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-12-07 17:52:28 -0500
committerTim Graham <timograham@gmail.com>2018-12-31 10:47:32 -0500
commit043bd709425149b8eff3fb821cba5c23aaebd0df (patch)
tree7624be405a6a6e5a041e2852251ef76e9d28fa7d /tests/file_storage
parent1136d57f01ce3e3efab44163ccd7b3b34ec4207f (diff)
downloaddjango-043bd709425149b8eff3fb821cba5c23aaebd0df.tar.gz
Updated test URL patterns to use path() and re_path().
Diffstat (limited to 'tests/file_storage')
-rw-r--r--tests/file_storage/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/file_storage/urls.py b/tests/file_storage/urls.py
index 2bf659f6a8..24c5dcbc56 100644
--- a/tests/file_storage/urls.py
+++ b/tests/file_storage/urls.py
@@ -1,6 +1,6 @@
-from django.conf.urls import url
from django.http import HttpResponse
+from django.urls import path
urlpatterns = [
- url(r'^$', lambda req: HttpResponse('example view')),
+ path('', lambda req: HttpResponse('example view')),
]