You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings_docker.py 864B

12345678910111213141516171819202122232425262728293031323334353637
  1. USE_LESS = False
  2. COMPRESS_ENABLED = False
  3. HAYSTACK_CONNECTIONS = {
  4. 'default': {
  5. 'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
  6. 'URL': u'http://127.0.0.1:8983/solr',
  7. 'INCLUDE_SPELLING': True
  8. },
  9. }
  10. CACHES = {
  11. 'default': {
  12. 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  13. 'LOCATION': '127.0.0.1:11211',
  14. }
  15. }
  16. SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
  17. TEMPLATE_LOADERS = (
  18. ('django.template.loaders.cached.Loader', (
  19. 'django.template.loaders.filesystem.Loader',
  20. 'django.template.loaders.app_directories.Loader',
  21. )),
  22. )
  23. DATABASES = {
  24. 'default': {
  25. 'ENGINE': 'django.contrib.gis.db.backends.postgis',
  26. 'NAME': 'oscar_demo',
  27. 'USER': '',
  28. 'PASSWORD': '',
  29. 'HOST': '127.0.0.1',
  30. 'PORT': '',
  31. },
  32. }