summaryrefslogtreecommitdiffstats
path: root/activities/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'activities/migrations')
-rw-r--r--activities/migrations/0009_alter_postattachment_file.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/activities/migrations/0009_alter_postattachment_file.py b/activities/migrations/0009_alter_postattachment_file.py
new file mode 100644
index 0000000..0a250c3
--- /dev/null
+++ b/activities/migrations/0009_alter_postattachment_file.py
@@ -0,0 +1,28 @@
+# Generated by Django 4.1.3 on 2022-11-18 01:40
+
+import functools
+
+from django.db import migrations, models
+
+import core.uploads
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("activities", "0008_postattachment"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="postattachment",
+ name="file",
+ field=models.FileField(
+ blank=True,
+ null=True,
+ upload_to=functools.partial(
+ core.uploads.upload_namer, *("attachments",), **{}
+ ),
+ ),
+ ),
+ ]