{{{
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.
* status: new => closed
* resolution: => duplicate
Comment:
The current docs works for me. Maybe you created these files in an **app**
directory not in an **project** directory. Duplicate of #32642 and #30598.
--
Ticket URL: <https://code.djangoproject.com/ticket/32926#comment:1>