tutorial part 3: recommend removing 'mysite' from view prefix in polls specific urls.py
|Reported by:||cid||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
At the bottom of Tutorial part 3 where user is learning how to include app-specific urls (from the 'polls' app), the new included urls.py file (in polls app) starts with:
urlpatterns = patterns('mysite.polls.views', ...
Presumably 'mysite' should be removed from the patterns view prefix at this point to really decouple the app from the project. I tried doing that and it worked (changing "mysite.polls.views" to just "polls.views").