Merge pull request #193 from tim-vogel/fix_191

fix document_export issue (#191)
This commit is contained in:
Quinn Casey 2022-03-02 09:46:30 -08:00 committed by GitHub
commit 9d246b1ad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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