emile 9 months ago
parent 3a1a6aad3d
commit fe19c6429a

Binary file not shown.

@ -0,0 +1,18 @@
# Generated by Django 4.2.5 on 2024-08-14 07:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('osinacore', '0105_remove_projectfile_name_remove_projectfile_project_and_more'),
]
operations = [
migrations.AlterField(
model_name='projectfile',
name='file',
field=models.FileField(null=True, upload_to='project_files'),
),
]

@ -299,7 +299,7 @@ class ProjectFileAlbum(models.Model):
class ProjectFile(models.Model):
album = models.ForeignKey(ProjectFileAlbum, on_delete=models.CASCADE, null=True)
file = models.FileField(null=True)
file = models.FileField(null=True, upload_to='project_files')
date_added = models.DateTimeField(null=True)

Loading…
Cancel
Save