test deployment
This commit is contained in:
@@ -416,7 +416,7 @@ class Quota(BaseModel):
|
|||||||
return f"Quota ({self.id}) for {self.product.name}"
|
return f"Quota ({self.id}) for {self.product.name}"
|
||||||
|
|
||||||
def generate_quota_id(self): # noqa
|
def generate_quota_id(self): # noqa
|
||||||
""" generate id for quota from 1001 """
|
""" generate id for quota from 1001 """
|
||||||
|
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
last = Quota.objects.filter(
|
last = Quota.objects.filter(
|
||||||
|
|||||||
Reference in New Issue
Block a user