hey ,
-- have you get any solutions for mysql?
On Friday, August 17, 2018 at 11:46:31 AM UTC+5:30, Vikrant Gupta wrote:
On Friday, August 17, 2018 at 11:46:31 AM UTC+5:30, Vikrant Gupta wrote:
sick of this error... what to do?antuptasMBP:New_Django vikrantgupta$ python manage.py migrateTraceback (most recent call last):File "manage.py", line 15, in <module>execute_from_command_line(sys.argv) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/ python3.7/site-packages/ django/core/management/__init_ _.py", line 381, in execute_from_command_line utility.execute()File "/Library/Frameworks/Python.framework/Versions/3.7/lib/ python3.7/site-packages/ django/core/management/__init_ _.py", line 357, in execute django.setup()File "/Library/Frameworks/Python.framework/Versions/3.7/lib/ python3.7/site-packages/ django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/ python3.7/site-packages/ django/apps/registry.py", line 93, in populate "duplicates: %s" % app_config.label)django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: Newtest setting.py code for INSTALLED_apps isINSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'Newtest.apps.NewtestConfig',
'Newtest',
]Apps.py code , andHow can I solve it?from django.apps import AppConfig
class NewtestConfig(AppConfig):
name = 'Newtest'
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/baf81acd-27b2-4db8-8a11-a1012e68ad86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment