Wednesday, June 23, 2021

Is the document not consistent for related_name?

`%(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.

Is the document not consistent for related_name? Althought both are worked.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3a4a59b4-3c52-43ac-8fd8-3b161815cb84n%40googlegroups.com.

No comments:

Post a Comment