Add separate photo for instructions
This commit is contained in:
parent
1f9d5f8291
commit
5843203702
5 changed files with 32 additions and 2 deletions
18
recette/migrations/0004_recette_photo_instr.py
Normal file
18
recette/migrations/0004_recette_photo_instr.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.0.5 on 2018-10-14 16:04
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('recette', '0003_recette_is_veget'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='recette',
|
||||
name='photo_instr',
|
||||
field=models.ImageField(blank=True, upload_to='photos', verbose_name='Photo des instructions'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue