8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +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
parent b108327d3f
commit 6de3a13ded

View file

@ -196,3 +196,9 @@ GRAPH_MODELS = {
if 'api' in INSTALLED_APPS:
from api.settings import *
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