From 4d2338798aa5ddd92a99ab9ab7d58f9aac994704 Mon Sep 17 00:00:00 2001
From: Jonathan Weth <git@jonathanweth.de>
Date: Tue, 3 Aug 2021 21:07:27 +0200
Subject: [PATCH] Add missing changes in livedocument migration

---
 aleksis/apps/resint/migrations/0006_livedocument.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aleksis/apps/resint/migrations/0006_livedocument.py b/aleksis/apps/resint/migrations/0006_livedocument.py
index 44a186a..0065c61 100644
--- a/aleksis/apps/resint/migrations/0006_livedocument.py
+++ b/aleksis/apps/resint/migrations/0006_livedocument.py
@@ -18,8 +18,8 @@ class Migration(migrations.Migration):
                 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                 ('slug', models.SlugField(help_text='This will be used for the name of the current PDF file.', verbose_name='Slug')),
                 ('name', models.CharField(max_length=255, verbose_name='Name')),
-                ('last_update', models.DateTimeField(blank=True, null=True, verbose_name='Date and time of the last update')),
-                ('current_file', models.FileField(blank=True, null=True, upload_to='chronos/plan_pdfs/', verbose_name='Current file')),
+                ('last_update', models.DateTimeField(blank=True, null=True, verbose_name='Date and time of the last update', editable=False)),
+                ('current_file', models.FileField(blank=True, null=True, upload_to='chronos/plan_pdfs/', verbose_name='Current file', editable=False)),
                 ('polymorphic_ctype', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_resint.livedocument_set+', to='contenttypes.contenttype')),
             ],
             options={
-- 
GitLab