SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 7c5a4f48 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Increase `max_length` for `SubsidyAttachment.attachment`

parent 023c2287
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.18 on 2024-03-12 19:36
from django.db import migrations, models
import finances.models
import scipost.storage
class Migration(migrations.Migration):
dependencies = [
('finances', '0030_auto_20240312_1822'),
]
operations = [
migrations.AlterField(
model_name='subsidyattachment',
name='attachment',
field=models.FileField(max_length=256, storage=scipost.storage.SecureFileStorage(), upload_to=finances.models.subsidy_attachment_path),
),
]
......@@ -241,6 +241,7 @@ class SubsidyAttachment(models.Model):
)
attachment = models.FileField(
max_length=256,
upload_to=subsidy_attachment_path,
storage=SecureFileStorage(),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment