#27754: Please document that Django models implement __dict__ (or tell me they
officially don't)
-----------------------------------------+------------------------
               Reporter:  dschweisguth   |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Documentation  |        Version:  1.10
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 A Django model's `__dict__` method is a popular way to get all of its
 attributes including foreign keys and non-editable fields (which
 `model_to_dict` omits): http://stackoverflow.com/a/29088221/634576

 I can't find documentation that Django models implement `__dict__`. If
 it's supported, can it be documented? If it's not supported, oh well.

 I care because PyCharm cares:
 https://youtrack.jetbrains.com/issue/PY-22313

 Thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/27754>
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.8d9a372413fef7e8f736f384427e3c58%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to