Trouble with Django Tutorial Part 2

93 views
Skip to first unread message

Ana Ng

unread,
Dec 9, 2015, 11:04:32 PM12/9/15
to Django users
I'm new to programming in general and am learning Django 1.8.7 for a new job. The polls tutorial on the official site was recommended, and everything goes smoothly until I attempt to migrate the new classes created in part 1.

When asked to migrate the classes with python manage.py makemigrations polls, I get "ImportError: No module named polls.apps".

I am fairly certain that I am following the tutorial properly, has anyone else had this issue?

Mario Gudelj

unread,
Dec 9, 2015, 11:30:11 PM12/9/15
to Django users
Did you mix up https://docs.djangoproject.com/en/1.8/intro/tutorial01/ and https://docs.djangoproject.com/en/1.9/intro/tutorial01/? 1.9 has apps.py inside polls directory and 1.8 tutorial doesn't. So, I think you have INSTALLED_APPS setting from 1.9 tutorial inside 1.8.7 project...

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6670d9c2-76ec-4163-b180-fa977a985834%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages