mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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,7 +1,7 @@
|
|||
from django.conf.urls import url
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
urlpatterns = [
|
||||
# This is the same as in the default project template
|
||||
url(r'^admin/', admin.site.urls),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue