Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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 Mariusz Felisiak, 3 years ago

Resolution: invalid
Status: newclosed

Please don't use Trac as a support channel. Closing per TicketClosingReasons/UseSupportChannels.

comment:2 by A-hông, 3 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.
Back to Top