Vous pouvez définir quelques variables dans settings.py pour adapter OpenPLM à vos besoins. Voici les plus communes :
list of installed apps
see ALLOWED_HOSTS
True if mails sending should fail silently. If False, all connection errors to the SMTP server will be logged by celery (/var/log/celery/*.log).
directory that stores documents. Make sure to use a trailing slash.
directory that stores thumbnails. Make sure to use a trailing slash.
URL where thumbnails are located . Make sure to use a trailing slash.
expeditor’s mail used when sending notification emails
Subject of a sponsor mail. It can be a valid django template string, two variables are available: new_user and sponsor (User instances) for example, it could be u"Welcome {{new_user.get_full_name}}, {{sponsor.get_full_name}} has sponsored you on OpenPLM".
Max file size for documents in bytes, -1 means illimited
set to True so that browsers ensure the cookie is only sent under an HTTPS connection
Force HTTPS connections
set to True to hide emails
Never delete files. If a user deletes a file, the file is deprecated instead of being deleted. Warning, if set to True, OpenPLM may consume a lot of disk place.