#24317: Deprecate field.rel, replace it with real field instances
-------------------------------------+-------------------------------------
Reporter: akaariai | Owner: auvipy
Type: | Status: assigned
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by guettli):
I hope I am not coming to late here.
Example: Model `Detail` has a ForeignKey to `Master`.
If I call get_fields() on Master. I want to see class names which
everyone immediately understands.
Up to now you get something like "ManyToOneRel to Detail". The meaning if
it is correct, but not immediately clear.
What about "ReverseForeignKey"?
Related: http://dba.stackexchange.com/questions/126116/name-of-foreignkey-
back-relation/126157#126157
--
Ticket URL: <https://code.djangoproject.com/ticket/24317#comment:12>
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/066.88a06a8096695084e2d764fd9cfc173c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.