Exemplo n.º 1
0
 def query_class(self, DefaultQueryClass):
     """
     Given the default Query class, returns a custom Query class
     to use for this backend. Returns None if a custom Query isn't used.
     See also BaseDatabaseFeatures.uses_custom_query_class, which regulates
     whether this method is called at all.
     """
     return query.query_class(DefaultQueryClass)
Exemplo n.º 2
0
 def query_class(self, DefaultQueryClass):
     return query.query_class(DefaultQueryClass)