changed plural default
This commit is contained in:
parent
fb21622bfe
commit
5e332bb88c
18
cookbook/migrations/0187_alter_space_use_plural.py
Normal file
18
cookbook/migrations/0187_alter_space_use_plural.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.1.4 on 2023-01-20 09:19
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cookbook', '0186_automation_order_alter_automation_type'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='space',
|
||||||
|
name='use_plural',
|
||||||
|
field=models.BooleanField(default=True),
|
||||||
|
),
|
||||||
|
]
|
@ -260,7 +260,7 @@ class Space(ExportModelOperationsMixin('space'), models.Model):
|
|||||||
max_recipes = models.IntegerField(default=0)
|
max_recipes = models.IntegerField(default=0)
|
||||||
max_file_storage_mb = models.IntegerField(default=0, help_text=_('Maximum file storage for space in MB. 0 for unlimited, -1 to disable file upload.'))
|
max_file_storage_mb = models.IntegerField(default=0, help_text=_('Maximum file storage for space in MB. 0 for unlimited, -1 to disable file upload.'))
|
||||||
max_users = models.IntegerField(default=0)
|
max_users = models.IntegerField(default=0)
|
||||||
use_plural = models.BooleanField(default=False)
|
use_plural = models.BooleanField(default=True)
|
||||||
allow_sharing = models.BooleanField(default=True)
|
allow_sharing = models.BooleanField(default=True)
|
||||||
demo = models.BooleanField(default=False)
|
demo = models.BooleanField(default=False)
|
||||||
food_inherit = models.ManyToManyField(FoodInheritField, blank=True)
|
food_inherit = models.ManyToManyField(FoodInheritField, blank=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user