#11905: modelform_factory returns a broken form when given wrong value for
fields
---------------------------------+------------------------------------------
Reporter: ben | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: 1.1
Resolution: | Keywords: modelform_factory,
modelform, fields
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Comment (by Johnny82):
I have the same error
[[BR]]
{{{
Caught an exception while rendering: 'NoneType' object has no attribute
'label'
}}}
[[BR]]
it's occurs on Admin page when i want to use editor to add data to a Model
if comment such models field, and remove it from Admin class for that
model, all works fine
{{{
techspec = models.ManyToManyField('TechSpec', through = 'ModelTechSpec')
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/11905#comment:3>
Django <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
-~----------~----~----~----~------~----~------~--~---