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/6ab33aa4-fb60-44ed-9863-39b849526c00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to