mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #193 from tim-vogel/fix_191
fix document_export issue (#191)
This commit is contained in:
commit
9d246b1ad4
@ -6,7 +6,7 @@ import time
|
|||||||
|
|
||||||
import tqdm
|
import tqdm
|
||||||
from django.conf import settings
|
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 import serializers
|
||||||
from django.core.management.base import BaseCommand, CommandError
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
@ -144,6 +144,8 @@ class Command(BaseCommand):
|
|||||||
serializers.serialize("json", SavedViewFilterRule.objects.all())
|
serializers.serialize("json", SavedViewFilterRule.objects.all())
|
||||||
)
|
)
|
||||||
|
|
||||||
|
manifest += json.loads(serializers.serialize("json", Group.objects.all()))
|
||||||
|
|
||||||
manifest += json.loads(serializers.serialize("json", User.objects.all()))
|
manifest += json.loads(serializers.serialize("json", User.objects.all()))
|
||||||
|
|
||||||
# 3. Export files from each document
|
# 3. Export files from each document
|
||||||
|
Loading…
x
Reference in New Issue
Block a user