default_settings.py 519 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. SQLALCHEMY_DATABASE_URI = 'sqlite:///../ffdn-db.sqlite'
  3. CRAWLER_MIN_CACHE_TIME = 60 * 60 # 1 hour
  4. CRAWLER_MAX_CACHE_TIME = 60 * 60 * 24 * 14 # 2 week
  5. CRAWLER_DEFAULT_CACHE_TIME = 60 * 60 * 12 # 12 hours
  6. CRAWLER_CRON_INTERVAL = 60 * 20 # used to return valid cache info in the API
  7. SYSTEM_TIME_ZONE = 'Europe/Paris'
  8. LANGUAGES = {
  9. 'en': u'English',
  10. 'fr': u'Français',
  11. }
  12. ISP_FORM_GEOJSON_MAX_SIZE = 256 * 1024
  13. ISP_FORM_GEOJSON_MAX_SIZE_TOTAL = 1024 * 1024
  14. CACHE_NO_NULL_WARNING = True