diff --git a/requirements.txt b/requirements.txt index 6dd8b32b5..25f4a0a40 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ Django==1.9 django-extensions==1.6.1 +djangorestframework==3.3.2 filemagic==1.6 langdetect==1.0.5 Pillow==3.0.0 diff --git a/src/paperless/settings.py b/src/paperless/settings.py index d31879110..07918882f 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -158,7 +158,7 @@ OCR_THREADS = os.environ.get("PAPERLESS_OCR_THREADS") FORGIVING_OCR = True # GNUPG needs a home directory for some reason -GNUPG_HOME = os.environ.get("HOME", "/dev/null") +GNUPG_HOME = os.environ.get("HOME", "/tmp") # Convert is part of the Imagemagick package CONVERT_BINARY = "/usr/bin/convert"