diff options
| author | Raffaele Salmaso <raffaele@salmaso.org> | 2016-12-29 18:51:26 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-03 18:51:10 -0500 |
| commit | da3df5b878d96ef37dcff1377ccbd097b80776d7 (patch) | |
| tree | 2ded9c48939cfbc3922e3600389872b41ef93b6a /tests/admin_default_site/sites.py | |
| parent | d0a42a14c06e033922f6d51e6384cba53be887b6 (diff) | |
Fixed #8500 -- Allowed overriding the default admin site instance.
Diffstat (limited to 'tests/admin_default_site/sites.py')
| -rw-r--r-- | tests/admin_default_site/sites.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/admin_default_site/sites.py b/tests/admin_default_site/sites.py new file mode 100644 index 0000000000..f2c33bd790 --- /dev/null +++ b/tests/admin_default_site/sites.py @@ -0,0 +1,5 @@ +from django.contrib import admin + + +class CustomAdminSite(admin.AdminSite): + pass |
