creation_counter is used to keep track of Manager's instance being created, what is the motivation behind this ? and what is the purpose of check() which returns empty list ?
Thanks.
Tomer Chachamu
unread,
Oct 14, 2017, 11:49:52 AM10/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers (Contributions to Django itself)
creation_counter appears to be used to make sure the managers are always initialised in the same order as they were defined in the model (for models that use multiple managers).