From 502dd85efb90e7cd4536e674fb4bba51feecde89 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Mon, 8 Dec 2025 16:26:03 +0100 Subject: [PATCH] Document import management command updated to work with changed structure --- dokumente/management/commands/import-document.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dokumente/management/commands/import-document.py b/dokumente/management/commands/import-document.py index 42cc19d..c93a716 100755 --- a/dokumente/management/commands/import-document.py +++ b/dokumente/management/commands/import-document.py @@ -71,6 +71,7 @@ class Command(BaseCommand): "name": name, "gueltigkeit_von": options["gueltigkeit_von"], "gueltigkeit_bis": options["gueltigkeit_bis"], + "aktiv":False, }, ) if created: @@ -319,6 +320,7 @@ class Command(BaseCommand): thema=thema, titel=v["titel"], gueltigkeit_von=timezone.now().date(), + order=0, ) # Stichworte