#32926: Overriding admin site error
-----------------------------------------+------------------------
Reporter: gojuukaze | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
I got error when I overriding admin site
{{{
Traceback (most recent call last):
File "manage.py", line 25, in <module>
main()
File "manage.py", line 21, in main
execute_from_command_line(sys.argv)
File "/Users/xx/project/py38/lib/python3.8/site-
packages/django/core/management/__init__.py", line 419, in
execute_from_command_line
utility.execute()
File "/Users/xx/project/py38/lib/python3.8/site-
packages/django/core/management/__init__.py", line 395, in execute
django.setup()
File "/Users/xx/project/py38/lib/python3.8/site-
packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/xx/project/py38/lib/python3.8/site-
packages/django/apps/registry.py", line 93, in populate
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Application labels aren't
unique, duplicates: admin
}}}
I wrote the code based on tutorial
(https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#overriding-the-
default-admin-site), and it works well on django 3.1
--
Ticket URL: <https://code.djangoproject.com/ticket/32926>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.80b7029c872ad0e0c63fb94033930860%40djangoproject.com.