The first problem is this warning in the traceback:
No module named 'polls.apps.PollsConfigdjango'
That means that you are missing a comma after 'polls.apps.PollsConfig
in your INSTALLED_APPS
setting. It should be:
INSTALLED_APPS = (
...
'polls.apps.PollsConfig',
'django....',
...
)
The second problem is the warning 'polls.apps' is not a package
. That suggests that you have installed Django 1.8, but you are following the Django 1.9 tutorial.
If you are using Django 1.8, then follow the 1.8 tutorial so that you don’t hit problems like this. Adding the polls app to INSTALLED_APPS
is covered here in the Django 1.8 tutorial. Note that it doesn’t use PollsConfig
.
INSTALLED_APPS = (
...
'polls',
)