Mattew,
thank for the prompt answer. 
In effects, for some reason the app was preset 2 times in the 
INSTALLED_APPS list, also if I am sure I added it only once at the 
beginning of the list. Maybe django added it again at the end of the list. 
I will watch this behavior and let the list know.
Problem solved



On Tuesday, May 15, 2018 at 9:43:39 AM UTC-4, Matthew Pava wrote:

> Though I’ve never seen that error, I’m guessing that maybe you added 
> ‘polls’ to your INSTALLED_APPS setting more than once.  Simply remove the 
> extra references to it.
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Paolo Chilosi
> *Sent:* Tuesday, May 15, 2018 6:52 AM
> *To:* Django users
> *Subject:* django 2.0 tutorial :: exception:: application labels are not 
> unique.
>
>  
>
> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> 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/d0685aa9-f404-4fca-b97f-b72c97045f9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to