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.

95 lines
3.7 KiB

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