8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

set FILE_UPLOAD_MAX_MEMORY_SIZE = 0 for printer app

This commit is contained in:
Maxime Bombar 2018-09-08 19:25:27 +02:00 committed by root
parent eb001132a8
commit 0d2cce2488

View file

@ -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