Skip to content

Instantly share code, notes, and snippets.

@isanecat
Created January 29, 2020 18:33
Show Gist options
  • Save isanecat/8c496f1fffe24f42da75e150043fdbf6 to your computer and use it in GitHub Desktop.
Save isanecat/8c496f1fffe24f42da75e150043fdbf6 to your computer and use it in GitHub Desktop.
default_app_config = 'Repport.apps.RepportConfig'
from django.apps import AppConfig
class RepportConfig(AppConfig):
name = 'Repport'
(VOFIZU) C:\Users\IOT\Desktop\OFIZU\OFIZU>python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 21, in <module>
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "C:\Users\IOT\Desktop\OFIZU\VOFIZU\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
utility.execute()
File "C:\Users\IOT\Desktop\OFIZU\VOFIZU\lib\site-packages\django\core\management\__init__.py", line 377, in execute
django.setup()
File "C:\Users\IOT\Desktop\OFIZU\VOFIZU\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\IOT\Desktop\OFIZU\VOFIZU\lib\site-packages\django\apps\registry.py", line 95, in populate
"duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: Repport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment