Parcourir la source

Add default sendfile backend to use in production in comment

Fabs il y a 10 ans
Parent
commit
7d7a959144
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      coin/settings.py

+ 1 - 0
coin/settings.py

@@ -120,6 +120,7 @@ PRIVATE_FILES_ROOT = os.path.join(BASE_DIR, 'smedia/')
 
 # Backend to use when sending private files to client
 # In production, must be sendfile.backends.xsendfile with Apache xsend file mod
+# Or failing xsendfile, use : sendfile.backends.simple
 # https://github.com/johnsensible/django-sendfile
 SENDFILE_BACKEND = 'sendfile.backends.development'