From 9aa875113e128b6a52329ce2431517e15d263c5a Mon Sep 17 00:00:00 2001 From: Maxime Bombar Date: Thu, 28 Jun 2018 19:59:00 +0200 Subject: [PATCH] printer/settings.py : Temporary settings for printer app --- printer/settings.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 printer/settings.py diff --git a/printer/settings.py b/printer/settings.py new file mode 100644 index 00000000..97895a3b --- /dev/null +++ b/printer/settings.py @@ -0,0 +1,13 @@ + + + + + +"""printer.settings +Define variables, to be changed into a configuration table. +""" + + + +MAX_PRINTFILE_SIZE = 10 * 1024 * 1024 # 25 MB +ALLOWED_TYPES = ['application/pdf']