django_local_settings.py.j2 801 B

1234567891011121314151617181920212223242526272829303132333435
  1. # -*- coding: utf-8 -*-
  2. DEBUG = TEMPLATE_DEBUG = False
  3. ADMINS = (
  4. # ('admin1', 'admin1@example.org'),
  5. )
  6. LDAP_ACTIVATE = False
  7. DATABASES = {
  8. # Base de donnée du SI
  9. 'default': {
  10. 'ENGINE': 'django.db.backends.postgresql_psycopg2',
  11. 'NAME': '{{ db_name }}',
  12. 'USER': '{{ db_user }}',
  13. 'PASSWORD': '{{ db_password }}',
  14. },
  15. }
  16. ALLOWED_HOSTS = ['{{ public_fqdn }}', ]
  17. SECRET_KEY = 'changeme'
  18. STATIC_ROOT = '{{ www_static_assets_directory }}'
  19. # Configuration for outgoing emails
  20. #DEFAULT_FROM_EMAIL = "faimaison-si@legeox.net"
  21. #EMAIL_USE_TLS = True
  22. #EMAIL_HOST = "localhost"
  23. MEMBER_DEFAULT_COTISATION = 16
  24. FEEDS = (
  25. #('isp', 'https://faimaison.net/feeds/all.atom.xml', 3),
  26. ('ffdn', 'http://www.ffdn.org/fr/rss.xml', 3)
  27. )