Django
2015-07-30 16:07:59 UTC
#25198: Django's model_to_dict should return ALL fields, including hidden
--------------------------------------+---------------------------------
Reporter: 1st | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Serialization) | Version: master
Severity: Normal | Keywords: model serialization
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+---------------------------------
Hello.
I found that Django return only editable fields in call of
`model_to_dict`. I wish to have an option `include_hidden=True` to get
list of ALL fields including not editable ones.
I will make this fix and tell you about fix.
--
Ticket URL: <https://code.djangoproject.com/ticket/25198>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--------------------------------------+---------------------------------
Reporter: 1st | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Serialization) | Version: master
Severity: Normal | Keywords: model serialization
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+---------------------------------
Hello.
I found that Django return only editable fields in call of
`model_to_dict`. I wish to have an option `include_hidden=True` to get
list of ALL fields including not editable ones.
I will make this fix and tell you about fix.
--
Ticket URL: <https://code.djangoproject.com/ticket/25198>
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 django-updates+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/046.5b00c52bd4b2f031766aeedaa3919acf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
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 django-updates+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/046.5b00c52bd4b2f031766aeedaa3919acf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.