#3639: use newforms in generic create_update view
---------------------------------------------------+------------------------
          Reporter:  webograph <[EMAIL PROTECTED]>  |         Owner:           
            Status:  new                           |     Milestone:  1.0 alpha
         Component:  Generic views                 |       Version:  SVN      
        Resolution:                                |      Keywords:  newforms 
             Stage:  Accepted                      |     Has_patch:  1        
        Needs_docs:  0                             |   Needs_tests:  0        
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Changes (by darkpixel):

  * needs_better_patch:  0 => 1

Comment:

 I applied this patch to svn 7871.
 Two things I ran into:
 1. A patch chunk failed to apply to docs (understandable since the docs
 have changed since the patch has been uploaded)
 2. The post_save_redirect parameter to create_object is supposed to be
 optional, however when you do not supply it you get an error after saving
 the form:

 ImproperlyConfigured at /your/url/new/
 No URL to redirect to from generic create view.

 Supplying a post_save_redirect parameter will cause it to redirect
 correctly.

 I can't wait for these patches to get applied to trunk!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3639#comment:28>
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