mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
6c7613ba2f
commit
517262b233
@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/1.10/ref/settings/
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
@ -179,4 +179,4 @@ IMPORT_EXPORT_USE_TRANSACTIONS = True
|
|||||||
|
|
||||||
# Settings for dbbsettings app
|
# Settings for dbbsettings app
|
||||||
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
||||||
DBBACKUP_STORAGE_OPTIONS = {'location': tempfile.gettempdir()}
|
DBBACKUP_STORAGE_OPTIONS = {'location': tempfile.gettempdir()}
|
||||||
|
Loading…
Reference in New Issue
Block a user