#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:  Ready for checkin             |     Has_patch:  1        
        Needs_docs:  0                             |   Needs_tests:  0        
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by gwilson):

 Replying to [comment:28 darkpixel]:
 > 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.

 With no `post_save_redirect` specified and no `get_absolute_url` method
 defined on your model, this error will indeed get raised.

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