#4656: Allow In-depth serialization by specifying depth to follow relationship
--------------------------------------+------------------------------------
     Reporter:  jay.m.martin@…        |                    Owner:  nobody
         Type:  New feature           |                   Status:  new
    Component:  Core (Serialization)  |                  Version:
     Severity:  Normal                |               Resolution:
     Keywords:  feature               |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by anonymous):

 * needs_better_patch:  0 => 1


Comment:

 This implementation does quite a lot queries that can be easily saved!

 Why can't you just change the implementation of the serializers to follow
 the fields retrieved using the 'select_related' method?

 Then you can also follow django's already existing conventions and allow
 the 'fields' property to accept values like: "related_model__field1" like
 in the 'filter' method?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/4656#comment:30>
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 [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.

Reply via email to