Opened 5 years ago

Closed 5 years ago

#28818 closed Cleanup/optimization (invalid)

Tutorial 02: Missing PollsConfig class - explanation required

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


Just going through the tutorial I had trouble to reference polls.apps.PollsConfig class simply because neither the module nor the class existed in the polls directory. I got the error "no module named 'polls.apps'".
Using the documentation I was able to setup the module and the class, yet it was not obvious in the first place. It would be good to include this as a hint, if other solutions don't work.

Change History (1)

comment:1 Changed 5 years ago by Tim Graham

Component: UncategorizedDocumentation
Resolution: invalid
Status: newclosed
Type: UncategorizedCleanup/optimization

You're probably using an incorrect Django version for that tutorial. is created automatically in Django 1.9 and newer.

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