Changes between Version 6 and Version 7 of Ticket #32563


Ignore:
Timestamp:
Mar 18, 2021, 3:16:19 AM (4 years ago)
Author:
Lucas Gruber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32563 – Description

    v6 v7  
    7070I noticed that all the methods of ''RelatedManager'' directly call the router object to find the database while the ''Manager'' objects always exploits the possibility of overriding the database with the call to ''using()'' on the QuerySet or to pass parameter ''using=db'' for save model method for example.
    7171
    72 I guess we need to use a mecanism which we can find in Model class with the save method :
     72I think we should use the same mechanism which is used in the Model class with the save() method :
    7373{{{
    7474    def save(self, force_insert=False, force_update=False, using=None,
Back to Top