24 lines
755 B
Python
24 lines
755 B
Python
# Generated by Django 5.2 on 2025-07-08 10:51
|
|
|
|
import hub.services.models.base
|
|
import hub.services.models.images
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("services", "0043_remove_article_image_remove_cloudprovider_logo_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="imagelibrary",
|
|
name="image",
|
|
field=models.FileField(
|
|
help_text="Upload image file (max 1MB) - supports JPEG, PNG, GIF, WebP, BMP, TIFF, and SVG",
|
|
upload_to=hub.services.models.images.get_image_upload_path,
|
|
validators=[hub.services.models.base.validate_image_or_svg],
|
|
),
|
|
),
|
|
]
|