local.py.example 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
  2. # Copyright (C) 2014 Jesús Espino <jespinog@gmail.com>
  3. # Copyright (C) 2014 David Barragán <bameda@dbarragan.com>
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Affero General Public License as
  6. # published by the Free Software Foundation, either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Affero General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Affero General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. from .development import *
  17. #ADMINS = (
  18. # ("Admin", "example@example.com"),
  19. #)
  20. DATABASES = {
  21. 'default': {
  22. 'ENGINE': 'transaction_hooks.backends.postgresql_psycopg2',
  23. 'NAME': 'taiga',
  24. 'USER': 'taiga',
  25. 'PASSWORD': 'changeme',
  26. 'HOST': '',
  27. 'PORT': '',
  28. }
  29. }
  30. #SITES = {
  31. # "api": {
  32. # "scheme": "http",
  33. # "domain": "localhost:8000",
  34. # "name": "api"
  35. # },
  36. # "front": {
  37. # "scheme": "http",
  38. # "domain": "localhost:9001",
  39. # "name": "front"
  40. # },
  41. #}
  42. #SITE_ID = "api"
  43. #MEDIA_ROOT = '/home/taiga/media'
  44. #STATIC_ROOT = '/home/taiga/static'
  45. # EMAIL SETTINGS EXAMPLE
  46. #EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  47. #EMAIL_USE_TLS = False
  48. #EMAIL_HOST = 'localhost'
  49. #EMAIL_PORT = 25
  50. #EMAIL_HOST_USER = 'user'
  51. #EMAIL_HOST_PASSWORD = 'password'
  52. #DEFAULT_FROM_EMAIL = "john@doe.com"
  53. # GMAIL SETTINGS EXAMPLE
  54. #EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  55. #EMAIL_USE_TLS = True
  56. #EMAIL_HOST = 'smtp.gmail.com'
  57. #EMAIL_PORT = 587
  58. #EMAIL_HOST_USER = 'youremail@gmail.com'
  59. #EMAIL_HOST_PASSWORD = 'yourpassword'
  60. # THROTTLING
  61. #REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
  62. # "anon": "20/min",
  63. # "user": "200/min",
  64. # "import-mode": "20/sec",
  65. # "import-dump-mode": "1/minute"
  66. #}
  67. # GITHUB SETTINGS
  68. #GITHUB_URL = "https://github.com/"
  69. #GITHUB_API_URL = "https://api.github.com/"
  70. #GITHUB_API_CLIENT_ID = "yourgithubclientid"
  71. #GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"
  72. # FEEDBACK MODULE (See config in taiga-front too)
  73. #FEEDBACK_ENABLED = True
  74. #FEEDBACK_EMAIL = "support@taiga.io"
  75. # STATS MODULE
  76. #STATS_ENABLED = False
  77. #FRONT_SITEMAP_CACHE_TIMEOUT = 60*60 # In second
  78. # SITEMAP
  79. # If is True /front/sitemap.xml show a valid sitemap of taiga-front client
  80. #FRONT_SITEMAP_ENABLED = False
  81. #FRONT_SITEMAP_CACHE_TIMEOUT = 24*60*60 # In second