cqle: correct exception message for INE with counters
PYTHON-453
This commit is contained in:
@@ -868,7 +868,7 @@ class ModelQuerySet(AbstractQuerySet):
|
||||
|
||||
def if_not_exists(self):
|
||||
if self.model._has_counter:
|
||||
raise IfNotExistsWithCounterColumn('if_not_exists cannot be used with tables containing columns')
|
||||
raise IfNotExistsWithCounterColumn('if_not_exists cannot be used with tables containing counter columns')
|
||||
clone = copy.deepcopy(self)
|
||||
clone._if_not_exists = True
|
||||
return clone
|
||||
|
||||
Reference in New Issue
Block a user