[Django] #30092: Error in tutorial 2 ?

2 views
Skip to first unread message

Django

unread,
Jan 10, 2019, 2:27:36 AM1/10/19
to django-...@googlegroups.com
#30092: Error in tutorial 2 ?
-----------------------------------------+----------------------------
Reporter: Bug38 | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 2.1
Severity: Normal | Keywords: polls.apps
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+----------------------------
When following tuto part 2, we need to add the
'''polls.apps.pollsConfig''' app to ''INSTALLED_APPS''.

But when doing this, I receive a double error:

{{{
ModuleNotFoundError: No module named 'polls.apps.pollsConfig';
'polls.apps' is not a package
}}}

The correct way for me was to only add '''polls'''. Is the tutorial 2
false or outdated ?
(I'm following 2.1 tutorial, and I'm using Django 2.1.5)

--
Ticket URL: <https://code.djangoproject.com/ticket/30092>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 10, 2019, 4:00:38 AM1/10/19
to django-...@googlegroups.com
#30092: Error in tutorial 2 ?
-------------------------------+--------------------------------------
Reporter: Bug38 | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: worksforme

Keywords: polls.apps | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => worksforme


Comment:

I think you made a typo, due to the tutorial it should be
`polls.apps.PollsConfig`.

--
Ticket URL: <https://code.djangoproject.com/ticket/30092#comment:1>

Reply all
Reply to author
Forward
0 new messages