Python imports and definitions


In [1]:
from django.conf import settings

Settings check


In [2]:
settings.EMAIL_HOST


Out[2]:
'10.0.3.1'

In [3]:
settings.DATABASES


Out[3]:
{'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
  'HOST': '188.165.193.204',
  'NAME': 'oneflow',
  'PASSWORD': '8jxcWaAfPJT3mV',
  'PORT': None,
  'USER': 'oneflow'}}

In [4]:
settings.REDIS_DB, settings.REDIS_TEST_DB


Out[4]:
(0, 9)

In [ ]: