Opened 6 years ago

Closed 6 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: UI/UX:


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 6 years ago by russellm

  • Component changed from User Experience to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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