cqle: correct exception message for INE with counters

PYTHON-453
This commit is contained in:
Adam Holmberg
2015-12-11 09:00:43 -06:00
parent 2bc5548c27
commit a001257c55

View File

@@ -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