Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
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.

83 lines
3.0 KiB

  1. # Django settings for mumble_django project.
  2. DEBUG = True
  3. TEMPLATE_DEBUG = DEBUG
  4. ADMINS = (
  5. # ('Your Name', 'your_email@domain.com'),
  6. )
  7. MANAGERS = ADMINS
  8. DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
  9. DATABASE_NAME = '/tmp/mumble-django.db3' # Or path to database file if using sqlite3.
  10. DATABASE_USER = '' # Not used with sqlite3.
  11. DATABASE_PASSWORD = '' # Not used with sqlite3.
  12. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
  13. DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
  14. # Local time zone for this installation. Choices can be found here:
  15. # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
  16. # although not all choices may be available on all operating systems.
  17. # If running in a Windows environment this must be set to the same as your
  18. # system time zone.
  19. TIME_ZONE = 'Europe/Berlin'
  20. # Language code for this installation. All choices can be found here:
  21. # http://www.i18nguy.com/unicode/language-identifiers.html
  22. LANGUAGE_CODE = 'en-us'
  23. SITE_ID = 1
  24. # If you set this to False, Django will make some optimizations so as not
  25. # to load the internationalization machinery.
  26. USE_I18N = True
  27. # Absolute path to the directory that holds media.
  28. # Example: "/home/media/media.lawrence.com/"
  29. MEDIA_ROOT = '/usr/share/mumble-django/htdocs'
  30. # URL that handles the media served from MEDIA_ROOT. Make sure to use a
  31. # trailing slash if there is a path component (optional in other cases).
  32. # Examples: "http://media.lawrence.com", "http://example.com/media/"
  33. MEDIA_URL = ''
  34. # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
  35. # trailing slash.
  36. # Examples: "http://foo.com/media/", "/media/".
  37. ADMIN_MEDIA_PREFIX = '/media/'
  38. # Make this unique, and don't share it with anybody.
  39. SECRET_KEY = 'u-mp185msk#z4%s(do2^5405)y5d!9adbn92)apu_p^qvqh10v'
  40. # List of callables that know how to import templates from various sources.
  41. TEMPLATE_LOADERS = (
  42. 'django.template.loaders.filesystem.load_template_source',
  43. 'django.template.loaders.app_directories.load_template_source',
  44. # 'django.template.loaders.eggs.load_template_source',
  45. )
  46. MIDDLEWARE_CLASSES = (
  47. 'django.middleware.common.CommonMiddleware',
  48. 'django.contrib.sessions.middleware.SessionMiddleware',
  49. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  50. )
  51. ROOT_URLCONF = 'pyweb.urls'
  52. TEMPLATE_DIRS = (
  53. # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
  54. # Always use forward slashes, even on Windows.
  55. # Don't forget to use absolute paths, not relative paths.
  56. '/home/mistagee/mumble-django/hgrep/template',
  57. )
  58. INSTALLED_APPS = (
  59. 'django.contrib.auth',
  60. 'django.contrib.admin',
  61. 'django.contrib.contenttypes',
  62. 'django.contrib.sessions',
  63. 'django.contrib.sites',
  64. 'registration',
  65. 'mumble',
  66. )