This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
django
Watch
0
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2024-12-01 15:42:04 +01:00
Code
Issues
Releases
Wiki
Activity
7e759d9af7
django
/
tests
/
proxy_models
/
urls.py
8 lines
104 B
Python
Raw
Normal View
History
Unescape
Escape
Updated test URL patterns to use path() and re_path().
2018-12-07 23:52:28 +01:00
from
django
.
urls
import
path
Updated tests to stop leaking models in shared AdminSite. This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
2015-03-30 18:33:26 +02:00
from
.
admin
import
site
Fixed #20777 -- Admin proxy model deletion regression Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-15 09:32:54 +02:00
Fixed #22218 -- Deprecated django.conf.urls.patterns. Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-02 02:46:34 +02:00
urlpatterns
=
[
Refs #33476 -- Reformatted code with Black.
2022-02-03 20:24:19 +01:00
path
(
"
admin/
"
,
site
.
urls
)
,
Fixed #22218 -- Deprecated django.conf.urls.patterns. Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-02 02:46:34 +02:00
]
Copy Permalink