mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Updated test URL patterns to use path() and re_path().
This commit is contained in:
parent
1136d57f01
commit
043bd70942
104 changed files with 692 additions and 673 deletions
|
@ -1,6 +1,6 @@
|
|||
from django.conf.urls import url
|
||||
from django.contrib.staticfiles import views
|
||||
from django.urls import re_path
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^static/(?P<path>.*)$', views.serve),
|
||||
re_path('^static/(?P<path>.*)$', views.serve),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue