mirror of https://gitlab.crans.org/bde/nk20
few changes in models, delete default label
This commit is contained in:
parent
b1d0cf92b1
commit
9b9fa0bcfe
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.28 on 2024-05-25 13:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('food', '0004_auto_20240525_1352'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='basicfood',
|
||||
name='label',
|
||||
field=models.ImageField(max_length=255, upload_to='label/', verbose_name='food label'),
|
||||
),
|
||||
]
|
|
@ -194,7 +194,6 @@ class BasicFood(models.Model):
|
|||
blank=False,
|
||||
null=False,
|
||||
upload_to='label/',
|
||||
default= 'pic/default.png',
|
||||
)
|
||||
|
||||
was_eaten = models.BooleanField(
|
||||
|
|
Loading…
Reference in New Issue