mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
added recipe images
This commit is contained in:
18
cookbook/migrations/0006_recipe_image.py
Normal file
18
cookbook/migrations/0006_recipe_image.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.0.1 on 2019-12-25 15:11
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cookbook', '0005_recipebook_recipebookentry'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='recipe',
|
||||
name='image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='recipes/'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user