Please double check your Django version with:

python manage.py --version

If you generated the polls app using a version older than 1.9, you won't 
have apps.py. In that case, you use simply use 'polls' in INSTALLED_APPS 
rather than 'polls.apps.PollsConfig'.

By the way, please use Django 1.9.5 rather than 1.9.2. You should always 
use the latest minor release in a series to receive important security and 
bug fixes.

On Sunday, April 24, 2016 at 10:13:20 AM UTC-4, [email protected] 
wrote:
>
> In part 2 of the django tutorial; 'writing your fist app', the command
>
> python manage.py makemigrations polls
>
>
> gives errors. I get "ImportError: No module named polls.apps". When going 
> back to part 1, the command 'python manage.py startapp polls' is supposed to 
> generate also a file named apps.py in the polls/ directory, but for some 
> strange reason it failed to do so. Since those generated .py files are mostly 
> empty, I did "touch .../polls/apps.py" and reran that "makemigration" command 
> above. But then I got the error message: 
>
>
> ImportError: No module named PollsConfig
>
>
> What now? The tutorial doesn't explain.
>
>
>

-- 
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/4b850e59-42a3-4994-a5bd-cd47c9b7367b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to