Just to note: Django doesn’t change the settings.py file, it only references it so it knows what configurations to load.
On Tue, May 15, 2018 at 7:27 AM Paolo Chilosi <[email protected]> wrote: > thanks for pointing out about the typo. However this was not the cause of > the exception. Look to my previous answer. > > > On Tuesday, May 15, 2018 at 9:44:57 AM UTC-4, Sidyvan Fernandes de Andrade > wrote: > >> python manage.py makemigrations polls >> >> 2018-05-15 8:51 GMT-03:00 Paolo Chilosi <[email protected]>: >> > As new to Django I am learning following the tutorial carefully. When I >>> reached the point of making the migration for the polls app I executed >>> (from the PyCharm terminal) the command: >>> >>> (venv) C:\Users\Paolo\PycharmProjects\mysite>python manage.py >>> makemigration polls >>> >>> and then I obtained the following exception messages >>> >>> Traceback (most recent call last): >>> File "manage.py", line 15, in <module> >>> execute_from_command_line(sys.argv) >>> File >>> "C:\Users\Paolo\PycharmProjects\mysite\venv\lib\site-packages\django\core\management\__ini >>> t__.py", line 371, in execute_from_command_line >>> utility.execute() >>> File >>> "C:\Users\Paolo\PycharmProjects\mysite\venv\lib\site-packages\django\core\management\__ini >>> t__.py", line 347, in execute >>> django.setup() >>> File >>> "C:\Users\Paolo\PycharmProjects\mysite\venv\lib\site-packages\django\__init__.py", >>> line 24 >>> , in setup >>> apps.populate(settings.INSTALLED_APPS) >>> File >>> "C:\Users\Paolo\PycharmProjects\mysite\venv\lib\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: polls >>> (venv) C:\Users\Paolo\PycharmProjects\mysite> >>> >>> I reviewed carefully the code and restarted the tutorial several times , >>> all the times having the same problem. >>> >>> ANY SUGGESTION?? thanks >>> >>> -- >>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >> >> >>> 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/653a7dd7-b330-4062-86b2-3fa06598008a%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/653a7dd7-b330-4062-86b2-3fa06598008a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/fffe2c47-a057-4dbb-9f8c-718b3abb8939%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/fffe2c47-a057-4dbb-9f8c-718b3abb8939%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAE-E-_0H_HB1o-wb9TqssPQWJ%3Dk%3DhubEysUk9fVHf3fHqvcz%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

