fix quota group to array
This commit is contained in:
@@ -346,10 +346,10 @@ class Quota(BaseModel):
|
||||
)
|
||||
month_choices = ArrayField(base_field=models.IntegerField(), null=True)
|
||||
sale_license = ArrayField(base_field=models.IntegerField(), null=True)
|
||||
group = models.CharField(
|
||||
group = ArrayField(base_field=models.CharField(
|
||||
max_length=50,
|
||||
choices=[("rural", "روستایی"), ("industrial", "صنعتی"), ("nomadic", "عشایری")] # noqa
|
||||
)
|
||||
choices=[("rural", "روستایی"), ("industrial", "صنعتی"), ("nomadic", "عشایری")], # noqa
|
||||
), null=True)
|
||||
has_distribution_limit = models.BooleanField(default=False)
|
||||
distribution_mode = ArrayField(base_field=models.IntegerField(), blank=True, null=True)
|
||||
has_organization_limit = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user