mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
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.
This commit is contained in:
parent
97bb48d9ba
commit
a429a502ea
11 changed files with 50 additions and 46 deletions
|
@ -1,6 +1,7 @@
|
|||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import site
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^admin/', include(site.urls)),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue