-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.sample
36 lines (27 loc) · 1.29 KB
/
env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Environment-based settings; copy this file to .env in project root and edit as needed
# Whether the application runs in debug mode or not
DEBUG=true
# Set a unique secret key for the project, required for running outside DEBUG mode
# SECRET_KEY=
# Log level (default is INFO, DEBUG is very verbose)
# LOG_LEVEL=INFO
# Allowed hosts (list of comma-separated host names, or asterisk to match all hosts), only needed if DEBUG is false
# ALLOWED_HOSTS=
# Database URL to use (for local testing with SQLite use sqlite:///sqlite.db)
# To avoid nasty surprises when deploying, use the same database engine on production and in local development/testing
DATABASE_URL=sqlite:///sqlite.db
# E-mail backend to use, defaults to "smtp" if DEBUG is false, and "console" if DEBUG is true
# EMAIL_BACKEND=console
# If sending e-mail via "smtp", you'll also want to set these
# EMAIL_HOST=
# EMAIL_HOST_USER=
# EMAIL_HOST_PASSWORD=
# EMAIL_PORT=
# EMAIL_USE_TLS=
# If Django is running behind a reverse proxy, enable this so Django can detect original host, port and protocol
# USE_X_FORWARDED_PROTO=true
# USE_X_FORWARDED_HOST=true
# USE_X_FORWARDED_PORT=true
# Request throttling (rate-limiting); see https://www.django-rest-framework.org/api-guide/throttling/
# THROTTLE_ANONYMOUS=10/hour
# THROTTLE_AUTHENTICATED=100/hour