Opened 14 years ago

Closed 14 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

Description

Hi,
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 settings.py
Second was in urlpatterns in urls.py.

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)

Cheers.

Change History (1)

comment:1 by Russell Keith-Magee, 14 years ago

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