spacepaste

  1.  
  2. # Method that pulls settings from the standard settings.py
  3. # file so that you can append or override items.
  4. def get_setting(setting):
  5. try:
  6. from . import settings # Python 3
  7. except ImportError:
  8. import settings # Python 2
  9. return getattr(settings, setting)
  10. SECRET_KEY='0db97110a442d4dde680bbbc5b4e3ad3'
  11. SITE_SETTINGS_KEY='f0b73ca3e1dca73e9cfebfa1a5ae5e33'
  12. INSTALLED_APPS = get_setting('INSTALLED_APPS')
  13. INSTALLED_APPS = ('attendance','blog',) + INSTALLED_APPS
  14. INSTALLED_APPS += (
  15. 'django.contrib.gis',
  16. 'tendenci.apps.committees',
  17. 'tendenci.apps.case_studies',
  18. 'tendenci.apps.donations',
  19. 'tendenci.apps.speakers',
  20. 'tendenci.apps.staff',
  21. 'tendenci.apps.studygroups',
  22. 'tendenci.apps.videos',
  23. 'tendenci.apps.testimonials',
  24. 'tendenci.apps.social_services',
  25. # -- explorer block --
  26. 'tendenci.apps.explorer_extensions',
  27. 'explorer',
  28. # -- end of explorer block --
  29.