mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Merge pull request #193 from tim-vogel/fix_191
fix document_export issue (#191)
This commit is contained in:
commit
9d246b1ad4
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue