mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-28 15:42:25 +00:00
set FILE_UPLOAD_MAX_MEMORY_SIZE = 0 for printer app
This commit is contained in:
parent
eb001132a8
commit
0d2cce2488
1 changed files with 6 additions and 0 deletions
|
@ -196,3 +196,9 @@ GRAPH_MODELS = {
|
||||||
if 'api' in INSTALLED_APPS:
|
if 'api' in INSTALLED_APPS:
|
||||||
from api.settings import *
|
from api.settings import *
|
||||||
INSTALLED_APPS += API_APPS
|
INSTALLED_APPS += API_APPS
|
||||||
|
|
||||||
|
# Not to display printer tab if printer is not installed
|
||||||
|
PRINTER_INSTALLED = 'printer' in INSTALLED_APPS
|
||||||
|
|
||||||
|
# Use temporary upload file
|
||||||
|
FILE_UPLOAD_MAX_MEMORY_SIZE = 0
|
||||||
|
|
Loading…
Reference in a new issue