#32875 closed Uncategorized (invalid)
Which is prefered for `default_related_name`?
| Reported by: | A-hông | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 3.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
%(model_name)s is recommended in the document default_related_name but %(class)s is recommended in the document Be careful with related_name and related_query_name.
Both are worked. Which is better?
Thank you
Change History (2)
comment:1 by , 4 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 4 years ago
Thank you for the comment.
The document is not consistent. I will find other channel, thanks.
Note:
See TracTickets
for help on using tickets.
Please don't use Trac as a support channel. Closing per TicketClosingReasons/UseSupportChannels.