fix document_export issue (#191)

This commit is contained in:
Tim Vogel 2022-03-01 21:54:28 +01:00 committed by Quinn Casey
parent 74b94bc66a
commit 7c758c0750

View File

@ -6,7 +6,7 @@ import time
import tqdm
from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.auth.models import User, Group
from django.core import serializers
from django.core.management.base import BaseCommand, CommandError
from django.db import transaction
@ -144,6 +144,8 @@ class Command(BaseCommand):
serializers.serialize("json", SavedViewFilterRule.objects.all())
)
manifest += json.loads(serializers.serialize("json", Group.objects.all()))
manifest += json.loads(serializers.serialize("json", User.objects.all()))
# 3. Export files from each document