-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.development
43 lines (37 loc) · 1.11 KB
/
.env.development
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
37
38
39
40
41
42
43
DEBUG=1
SECRET_KEY="django-insecure-^5d)vf!v2s+=s#pqv)jh!my5guusa5s1ev+(1hccuhiz%0j^^m"
DJANGO_ALLOWED_HOSTS=*
DEFAULT_DATABASE_ENGINE=django.db.backends.postgresql
DEFAULT_DATABASE_NAME="university_db"
DEFAULT_DATABASE_USER="postgres"
DEFAULT_DATABASE_PASSWORD="1234"
DEFAULT_DATABASE_HOST="127.0.0.1"
DEFAULT_DATABASE_PORT="5432"
STATIC_URL=/static/
STATIC_ROOT_NAME=static
MEDIA_DIR_NAME=media
MEDIA_URL=/media/
LANGUAGE_CODE=fa
TIME_ZONE=Asia/Tehran
USE_I18N=1
USE_L10N=1
USE_TZ=1
USE_THOUSAND_SEPARATOR=1
THOUSAND_SEPARATOR=","
DECIMAL_SEPARATOR="."
NUMBER_GROUPING=3
CELERY_BROKER_URL = 'pyamqp://guest:guest@localhost:5672//'
# Celery configuration
CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'django-db'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = 'Asia/Tehran'
EMAIL_BACKEND = 'djcelery_email.backends.CeleryEmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'quera0322@gmail.com'
EMAIL_HOST_PASSWORD = 'asdfgj79595'
DEFAULT_FROM_EMAIL = 'Celery quera0322@gmail.com'
REDIS_LOCATION = 'redis://redis:6379/1'