Commit Graph

11 Commits

Author SHA1 Message Date
Roberto Rosario
d1973e6e05 Explicitly set CELERY ALWAYS EAGER to False in the production setting file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2018-06-05 02:12:28 -04:00
Roberto Rosario
b165b9a5f2 New environment variables to configure the secret key, database, and celery options. The secret key can also be read from a file. Stricter defaults to increase security.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2018-04-13 16:02:16 -04:00
Roberto Rosario
be73264341 Production ALLOWED_HOSTS settings now defaults to a safer ['127.0.0.1', 'localhost', '[::1]']
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2018-04-11 20:41:25 -04:00
Roberto Rosario
5abb678433 Fix formatting of the production template engine overrides
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2017-03-09 01:02:45 -04:00
Roberto Rosario
9b3b54eb75 Make DEBUG False by default. 2016-12-22 03:37:07 -04:00
Roberto Rosario
5662b56714 Update project to work with Django 1.10.x 2016-12-22 02:53:06 -04:00
Roberto Rosario
a4cd152310 Cache compiled templates by default in production settings. Turn off Celery's eager behaviour in production by default. 2015-06-16 20:42:03 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
9bf1b3b95a Improve the settings method, allow for execution of mayan-edms.py without an existing local.py file 2014-10-09 19:34:51 -04:00
Roberto Rosario
77f7245766 Fix typo 2014-08-27 01:34:08 -04:00
Roberto Rosario
e80209117a Add production settings file and point wsgi by default to it 2014-08-18 01:29:23 -04:00