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.

102 lines
4.1 KiB

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