Re: [Django] #11464: tutorial part 3: recommend removing 'mysite' from view prefix in polls specific urls.py

2009-07-15 Thread Django
#11464: tutorial part 3: recommend removing 'mysite' from view prefix in polls
specific urls.py
+---
  Reporter:  cid| Owner:  nobody
Status:  closed | Milestone:
 Component:  Documentation  |   Version:  1.0   
Resolution:  wontfix|  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => wontfix
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Decoupling the apps from the project is part of a much bigger task that
 needs to be addressed in the docs. It isn't as simple as just changing the
 import line - I suspect an entire new tutorial will be required.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11464: tutorial part 3: recommend removing 'mysite' from view prefix in polls specific urls.py

2009-07-12 Thread Django
#11464: tutorial part 3: recommend removing 'mysite' from view prefix in polls
specific urls.py
---+
 Reporter:  cid|   Owner:  nobody
   Status:  new|   Milestone:
Component:  Documentation  | Version:  1.0   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 At the bottom of [http://docs.djangoproject.com/en/dev/intro/tutorial03
 /#decoupling-the-urlconfs 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").

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---