settings.py 659 B

1234567891011121314151617181920212223242526272829303132333435
  1. from __future__ import absolute_import, division, print_function, unicode_literals
  2. DATABASES = {
  3. 'default': {
  4. 'ENGINE': 'django.db.backends.sqlite3',
  5. }
  6. }
  7. ALLOWED_HOSTS = []
  8. TIME_ZONE = 'UTC'
  9. LANGUAGE_CODE = 'en-us'
  10. USE_I18N = False
  11. USE_L10N = False
  12. USE_TZ = True
  13. SECRET_KEY = 'nt56v8)moa)37ta5z7dd=if-@y#k@l7+t8lct*c8m730lpd=so'
  14. INSTALLED_APPS = (
  15. 'django.contrib.auth',
  16. 'django.contrib.contenttypes',
  17. 'django.contrib.sessions',
  18. 'tests',
  19. )
  20. MIDDLEWARE_CLASSES = []
  21. AUTH_USER_MODEL = 'auth.User'
  22. AUTHENTICATION_BACKENDS = [
  23. 'django_auth_ldap.backend.LDAPBackend',
  24. 'django.contrib.auth.backends.ModelBackend',
  25. ]