#20946: Clean up related field foreign value fetching implementation
-------------------------------------+-------------------------------------
               Reporter:  akaariai   |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |        Version:  1.5
              Component:  Database   |       Keywords:
  layer (models, ORM)                |      Has patch:  0
               Severity:  Normal     |    Needs tests:  0
           Triage Stage:  Accepted   |  Easy pickings:  0
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 There are currently two ways to fetch the foreign key value from the
 instance in fields/related.py. The other is get_foreign_related_value()
 and the other is ._get_fk_val(). The latter only works for single column
 foreign values. Also, these methods do slightly different things. So,
 getting rid of ._get_fk_val() seems like a good idea to me.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20946>
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/051.b1960c60cb9d02f53c8c2b3536c176d3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to