Opened 8 years ago

Closed 8 years ago

#15381 closed (invalid)

Tutorials: 'mysite.polls' instead of 'polls' in some First Django App

Reported by: bubboz Owned by:
Component: Documentation Version: 1.2
Severity: Keywords: tutorial first django app
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I don't know if this is just my instance (and the fact I was running the tutorial under apache) but in two places I needed to replace 'polls' with 'mysite.polls'.

First was in INSTALLED_APPS in
Second was in urlpatterns in

Obviously it works for some instances, but maybe a note saying sometimes it needs to be mysite.polls not just polls? (Took ages to work it out for myself)


Change History (1)

comment:1 Changed 8 years ago by Russell Keith-Magee

Component: User ExperienceDocumentation
Resolution: invalid
Status: newclosed

The tutorial is correct. Your apache configuration is incorrect. This is one of the reasons that the tutorial tells you to use the built in development server -- Apache configuration isn't trivial.

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