Hello,

This is the second part of the tutorial. In the first part, at some point you
were told to execute "python manage.py startapp polls". This should have created
an appropriate apps.py file.

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com

On 2017-11-04 23:09, Kyle Foley wrote:
> I'm trying to teach myself Django on this site:
>
> https://docs.djangoproject.com/en/1.11/intro/tutorial02/
>
> If you look at this sentence:
>
> To include the app in our project, we need to add a reference to its
> configuration class in the |INSTALLED_APPS|
> <https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-INSTALLED_APPS>
>  setting.
> The |PollsConfig| class is in the |polls/apps.py| file, so its dotted path
> is |'polls.apps.PollsConfig'|.
>
> They haven't told me what the pollsconfig class consists in, nor have they
> told me to build the apps.py module.  When I run the command line
>
> python manage.py makemigrations polls
>
> ModuleNotFoundError: No module named 'polls.apps.PollsConfig'; 'polls.apps' is
> not a package
>
>
> So what am I supposed to put in that module?
>
>
>
> -- 
> 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
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto: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/5cd8bacd-dae2-4c87-99b0-c83da4520edf%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5cd8bacd-dae2-4c87-99b0-c83da4520edf%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/d9955a9f-69b6-a9e3-f8a2-6e1e0c498f6d%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to