Opened 6 years ago

Closed 6 years ago

#30092 closed Bug (worksforme)

Error in tutorial 2 ?

Reported by: Bug38 Owned by: nobody
Component: Documentation Version: 2.1
Severity: Normal Keywords: polls.apps
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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)

Change History (1)

comment:1 by Mariusz Felisiak, 6 years ago

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top