Changed Image model path to method.
This commit is contained in:
19
viewer/migrations/0002_alter_image_path.py
Normal file
19
viewer/migrations/0002_alter_image_path.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 6.0.3 on 2026-03-24 19:38
|
||||
|
||||
import viewer.models
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("viewer", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="image",
|
||||
name="path",
|
||||
field=models.FilePathField(path=viewer.models.get_gallery_root),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user