diff options
author | Alban Gruin | 2017-01-27 22:12:38 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-27 23:00:56 +0100 |
commit | e6c95f5e792ed1400965eae90f2770f385872469 (patch) | |
tree | 023c57206a00e127feccca5551545ba98c8cbf8d /db.py | |
parent | 0f2525a12ea0ed03d3d33a48b112d3d80a622b75 (diff) |
Problème de nom
Diffstat (limited to 'db.py')
-rw-r--r-- | db.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,8 +17,8 @@ class GroupedQuery(Query): class GroupedQuerySet(QuerySet): def __init__(self, model=None, query=None, using=None, hints=None): - super(BetterQuerySet, self).__init__(model, query, using, hints) - self.query = query or BetterQuery(self.model) + super(GroupedQuerySet, self).__init__(model, query, using, hints) + self.query = query or GroupedQuery(self.model) def group_by(self, *field_names): obj = self._clone() |