#4572: How to use form_for_instance could benefit from more explanation
----------------------------------+-----------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  jacob        
     Status:  new                 |            Component:  Documentation
    Version:  SVN                 |           Resolution:               
   Keywords:                      |                Stage:  Accepted     
  Has_patch:  1                   |           Needs_docs:  0            
Needs_tests:  0                   |   Needs_better_patch:  1            
----------------------------------+-----------------------------------------
Comment (by SmileyChris):

 `if request.method == 'POST':` is actually the proper way to check for a
 POST call, the ticket is a bit messy adding in some ignores, and
 `get_object_or_404` isn't a function of the Manager - it's a shortcut.
 
 Maybe you could submit as a .diff or .patch too, that might fix trac not
 displaying the patch correctly.
 
 Thanks :)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4572#comment:4>
Django Code <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