#19271: Form validation throws AttributeError has "Base Model has no attribute
_default_manager"
-------------------------------------+-------------------------------------
     Reporter:  iamrohitbanga@…      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  1.4
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  forms, models,       |             Triage Stage:
  unique constrait                   |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by claudep):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Basically, your ModelForm usage seems strange. You are manually creating a
 model instance, then you don't use it and MyModelForm will probably create
 a new one. I'd suggest your first use support channels to see if your code
 is right, then reopen the bug with more complete code if you still think
 there is a bug in Django.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19271#comment:2>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to