From 12f422fd95e3b5d6228f220c67ae2a203898007c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Jan 2019 20:09:34 +0100 Subject: Indication of the maximum file size in help for file fields --- install/local_settings.py.sample | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install/local_settings.py.sample') diff --git a/install/local_settings.py.sample b/install/local_settings.py.sample index dbe4e7e62..93ccdc01a 100644 --- a/install/local_settings.py.sample +++ b/install/local_settings.py.sample @@ -13,6 +13,10 @@ LOGFILE = "/var/log/django/ishtar-#APP_NAME#.log" MEDIA_ROOT = "#APP_DIR#/media/" +# if you change this parameter do not forget to change it in your nginx +# configuration +MAX_UPLOAD_SIZE = #MAX_UPLOAD_SIZE# # in Mo + ODT_TEMPLATE = "#INSTALL_PATH#/ishtar_common/static/template.odt" ALLOWED_HOSTS = ["#URL#"] -- cgit v1.2.3