#9945: Suggestion on section "Use generic views: Less code is better"
---------------------------+------------------------------------------------
 Reporter:  kurisuto       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Under the section "Use generic views: Less code is better", the steps
 which you have to follow are interspersed throughout the text.  I had
 to reread them and do much experimentation and debugging to get it all to
 work.

 I'd suggest making an orderly list of the specific steps you have to
 take:

 1. Rename polls/detail.html to polls/poll_detail.html.

 2. Edit polls/views.py and change this line:

         return render_to_response('polls/detail.html', {

 to this:

         return render_to_response('polls/poll_detail.html', {

 3. Edit the template poll_detail.html and change ...

 4. Rename polls/index.html to polls/poll_list.html.


 etc.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9945>
Django <http://code.djangoproject.com/>
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to