mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-01 22:14:08 +03:00
3d2385a3b6
* #342 Add compressor option to requirements * #342 Add compressor to production settings * #342 Add compressor to base template * #342 Add settings to common.py and add tags to base template * #342 Flake8 fix for tox tests * #342 Remove redundant line * #342 Add required options for S3 to production.py and added Env variable to enable/disable compression * #342 Add required options for compressor on S3 to production.py
36 lines
877 B
Plaintext
36 lines
877 B
Plaintext
# PostgreSQL
|
|
POSTGRES_PASSWORD=mysecretpass
|
|
POSTGRES_USER=postgresuser
|
|
|
|
# General settings
|
|
DJANGO_ADMIN_URL=
|
|
DJANGO_SETTINGS_MODULE=config.settings.production
|
|
DJANGO_SECRET_KEY=CHANGEME!!!
|
|
DJANGO_ALLOWED_HOSTS=.{{ cookiecutter.domain_name }}
|
|
|
|
# AWS Settings
|
|
DJANGO_AWS_ACCESS_KEY_ID=
|
|
DJANGO_AWS_SECRET_ACCESS_KEY=
|
|
DJANGO_AWS_STORAGE_BUCKET_NAME=
|
|
|
|
# Used with email
|
|
DJANGO_MAILGUN_API_KEY=
|
|
DJANGO_SERVER_EMAIL=
|
|
|
|
# Security! Better to use DNS for this task, but you can use redirect
|
|
DJANGO_SECURE_SSL_REDIRECT=False
|
|
|
|
# django-allauth
|
|
DJANGO_ACCOUNT_ALLOW_REGISTRATION=True
|
|
{% if cookiecutter.use_sentry_for_error_reporting == 'y' -%}
|
|
# Sentry
|
|
DJANGO_SENTRY_DSN=
|
|
{% endif %}
|
|
{% if cookiecutter.use_opbeat == 'y' -%}
|
|
DJANGO_OPBEAT_ORGANIZATION_ID
|
|
DJANGO_OPBEAT_APP_ID
|
|
DJANGO_OPBEAT_SECRET_TOKEN
|
|
{% endif %}
|
|
{% if cookiecutter.use_compressor == 'y' -%}
|
|
COMPRESS_ENABLED=
|
|
{% endif %} |