#3815: subclassed newforms does not work with ancestor class created with
form_for_model(ModelClass)
--------------------------------------+-------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian         
     Status:  closed                  |            Component:  django.newforms
    Version:  SVN                     |           Resolution:  invalid        
   Keywords:  newforms                |                Stage:  Unreviewed     
  Has_patch:  0                       |           Needs_docs:  0              
Needs_tests:  0                       |   Needs_better_patch:  0              
--------------------------------------+-------------------------------------
Comment (by jon austin <[EMAIL PROTECTED]>):

 ah, thanks much, I should have looked closer at the django code, where it
 explicitly states Form adds the fields attribute. lesson learned. :)
 
 oh, and if anyone else reads this -- form_for_model does of course return
 a class not an instance ... as I would have seen had i studied the
 form_for_model code a bit...

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