Hotfix.
Добавлено создание имени файла на основе uuid
This commit is contained in:
parent
c1d419fb77
commit
487b1591b9
23
apps/main/migrations/0007_auto_20250403_0750.py
Normal file
23
apps/main/migrations/0007_auto_20250403_0750.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.2.25 on 2025-04-03 07:50
|
||||
|
||||
import apps.main.models.model_static_layer
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0006_alter_staticlayer_layer_style'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='staticlayer',
|
||||
name='layer_style',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='staticlayer',
|
||||
name='file',
|
||||
field=models.FileField(blank=True, null=True, upload_to=apps.main.models.model_static_layer.get_upload_path, verbose_name='Файл слоя'),
|
||||
),
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user