Tutorials: 'mysite.polls' instead of 'polls' in some First Django App
|Reported by:||bubboz||Owned by:|
|Severity:||Keywords:||tutorial first django app|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||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 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)