mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
set FILE_UPLOAD_MAX_MEMORY_SIZE = 0 for printer app
This commit is contained in:
parent
b108327d3f
commit
6de3a13ded
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue