Move setting to the storage app

The setting COMMON_TEMPORARY_DIRECTORY is now
STORAGE_TEMPORARY_DIRECTORY.

Move file related utilities to the storage app.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-12 22:26:43 -04:00
parent d42b9bbdf4
commit 0d4ab4f2cf
21 changed files with 154 additions and 115 deletions

View File

@@ -5,10 +5,10 @@ import os
from django.db import models
from mayan.apps.common.utils import mkstemp
from mayan.apps.django_gpg.exceptions import DecryptionError
from mayan.apps.django_gpg.models import Key
from mayan.apps.documents.models import DocumentVersion
from mayan.apps.storage.utils import mkstemp
logger = logging.getLogger(__name__)