This commit introduces support for uploading optional video files to products and image files to blog posts. Enhanced admin interfaces were added to preview these files directly. Also includes adjustments to GraphQL types and serializers to expose the new fields.
17 lines
413 B
Python
17 lines
413 B
Python
# Generated by Django 5.2.11 on 2026-03-01 22:48
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("blog", "0009_alter_post_slug"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="post",
|
|
name="blogpic",
|
|
field=models.ImageField(blank=True, null=True, upload_to="posts/images/"),
|
|
),
|
|
]
|