First initial commit for test Django website
This commit is contained in:
18
post/migrations/0002_post_banner.py
Normal file
18
post/migrations/0002_post_banner.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.1 on 2024-08-29 23:39
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('post', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='post',
|
||||
name='banner',
|
||||
field=models.ImageField(blank=True, default='fallback.png', upload_to=''),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user