Did you include Polls app in INCLUDE_APPS section in settings.

On Wed, 25 Jul 2018, 06:34 Ashish Kumar, <ashishb1...@gmail.com> wrote:

> I am trying to follow the latest Django tutorial at the documentation and
> I faced the following error when I enter python manage.py makemigrations
> polls
> Traceback (most recent call last): File "manage.py", line 15, in <module>
> execute_from_command_line(sys.argv) File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
> line 371, in execute_from_command_line utility.execute() File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
> line 347, in execute django.setup() File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\__init__.py",
> line 24, in setup apps.populate(settings.INSTALLED_APPS) File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\apps\registry.py",
> line 89, in populate app_config = AppConfig.create(entry) File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\apps\config.py",
> line 123, in create import_module(entry) File
> "C:\Users\asus\AppData\Local\Programs\Python\Python36-32\lib\importlib\__init__.py",
> line 126, in import_module return _bootstrap._gcd_import(name[level:],
> package, level) File "<frozen importlib._bootstrap>", line 994, in
> _gcd_import File "<frozen importlib._bootstrap>", line 971, in
> _find_and_load File "<frozen importlib._bootstrap>", line 950, in
> _find_and_load_unlocked ModuleNotFoundError: No module named
> 'polls.apps.PollsConfigwebapp'; 'polls.apps' is not a package
>
> I'm new to Django. I had followed each steps properly and even 
> re-checked.Experts
> please assist.Regards
>
> --
> 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+unsubscr...@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/2f948227-37d7-491d-b589-939abeab557e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/2f948227-37d7-491d-b589-939abeab557e%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 django-users+unsubscr...@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/CAMEZma__ocmfm8nu9XGvumt%3DXDWr8x7yMgaCz1WUoAzWksvgHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to