_settings_vars.py 916 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ########
  2. #
  3. # Django
  4. #
  5. ########
  6. DEBUG = True
  7. SECRET_KEY = 'django-insecure-$eodx2ilnb*djkahfguiwegbwelgbnajl*u$qkt7j-b)7t1iq'
  8. CSRF_TRUSTED_ORIGINS = []
  9. ALLOWED_HOSTS = ["127.0.0.1"]
  10. INTERNAL_IPS = ["127.0.0.1"]
  11. NAME_SYSTEM = "ShariX"
  12. API_URL = 'http://127.0.0.1:8000'
  13. ########
  14. #
  15. # Database
  16. #
  17. ########
  18. DB_NAME = None
  19. DB_USER = None
  20. DB_PASSWORD = None
  21. DB_HOST = None
  22. DB_PORT = 5432
  23. ########
  24. #
  25. # Email
  26. #
  27. ########
  28. EMAIL_HOST = None
  29. EMAIL_PORT = 587
  30. EMAIL_USE_TLS = True
  31. EMAIL_HOST_USER = None
  32. EMAIL_HOST_PASSWORD = None
  33. DEFAULT_FROM_EMAIL = None
  34. ########
  35. #
  36. # Gunicorn
  37. #
  38. ########
  39. BIND = "127.0.0.1:8000"
  40. ########
  41. #
  42. # ejabber
  43. #
  44. ########
  45. EJ_PROTOCOL = "http"
  46. EJ_IP = "10.0.20.9"
  47. EJ_PORT = "5280"
  48. EJ_URL = EJ_PROTOCOL + "://" + EJ_IP + ":" + EJ_PORT + "/" + "api/"
  49. EJ_SERVICE = "chat.ej.sharix-app.org"
  50. EJ_HOST = "ej.sharix-app.org"
  51. # Service name that is used in generating ejabber rooms
  52. WEBSERVICE_NAME = "open"