Note
This is a public alpha release, and therefore features and functionality may change and the software and documentation may contain technical bugs or other issues. If you discover any issues please consider registering a GitHub issue.
pedasi.settings module¶
Django settings for the PEDASI project.
Generated by ‘django-admin startproject’ using Django 2.0.8.
For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/
For guidance on configuration for production deployment, see https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
Configuration¶
Certain configuration properties are read from a ‘.env’ file in the project root directory. These properties are:
- SECRET_KEY - required
- Django secret key - a randomly generated character sequence.
- DEBUG
- Run the server in debug mode? Default is ‘false’.
- ALLOWED_HOSTS - required if not in debug mode
- List of hostnames on which the server is permitted to run
- DATABASE_URL
- URL to default SQL database - in dj-database-url format. Default is SQLite3 ‘db.sqlite3’ in project root directory.
- PROV_DATABASE_NAME
- Name of MongoDB database in which to store PROV data. Default is ‘prov’.