#32875: Which is prefered for `default_related_name`?
------------------------------------------+------------------------
Reporter: sih4sing5hong5 | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.2
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 |
------------------------------------------+------------------------
`%(model_name)s` is recommended in the document
[https://docs.djangoproject.com/en/3.2/ref/models/options/#default-
related-name default_related_name] but `%(class)s ` is recommended in the
document [https://docs.djangoproject.com/en/3.2/topics/db/models/#be-
careful-with-related-name-and-related-query-name Be careful with
related_name and related_query_name].
Both are worked. Which is better?
Thank you
--
Ticket URL: <https://code.djangoproject.com/ticket/32875>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/057.e2fd363eddd41c898a15b81aa35c3dfd%40djangoproject.com.