#24502: Using non model fields in an admin ModelForm does not work if the field
is
listed in fieldsets (and fields I think)
-------------------------------+--------------------------------------
Reporter: bdauvergne | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.7
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):
* status: new => closed
* resolution: => needsinfo
Comment:
Your example is too complicated for me to debug and reproduce (for example
`attribute.contribute_to_form` isn't part of Django), and there's evidence
that referring to non-model fields does work, see
https://github.com/django/django/commit/dc3d2ac98c1bcfad74d3e9523caf07e7e9fb15aa
for tests. Please reopen if you can simplify your example so it can be
reproduced (ideally, as a test for Django's test suite that passes on 1.5
and fails in 1.7). If you can
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/#bisecting-a-regression bisect the regression] all the better.
--
Ticket URL: <https://code.djangoproject.com/ticket/24502#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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.5fc3d95f32358c8ccbf1d810b2308735%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.