Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- ADMINS = (
- # ('Your Name', '[email protected]'),
- )
- MANAGERS = ADMINS
- TIME_ZONE = 'America/Chicago'
- LANGUAGE_CODE = 'en-us'
- # Absolute path to the directory that holds media.
- # Example: "/home/media/media.lawrence.com/"
- #MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
- MEDIA_ROOT = '/home/wluw/wluw/wluw/media/'
- TEMPLATE_CONTEXT_PROCESSORS = (
- "django.core.context_processors.auth",
- "django.core.context_processors.debug",
- "django.core.context_processors.i18n",
- "django.core.context_processors.media",
- "django.core.context_processors.request",
- "radio.station.context_processors.google_analytics",
- "radio.station.context_processors.current_datetime",
- "radio.frontend.context_processors.today",
- )
- # URL that handles the media served from MEDIA_ROOT. Make sure to use a
- # trailing slash if there is a path component (optional in other cases).
- # Examples: "http://media.lawrence.com", "http://example.com/media/"
- MEDIA_URL = '/media/'
- # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
- # trailing slash.
- # Examples: "http://foo.com/media/", "/media/".
- ADMIN_MEDIA_PREFIX = '/admin_media/'
- # Don't share this with anybody.
- SECRET_KEY = 'y3cpni&%g-v-)qge&^dj@9u*fw_ety%4duxgrt#w$5o#b0@_+4'
- MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
- 'annoying.middlewares.StaticServe',
- )
- ROOT_URLCONF = 'wluw.urls'
- INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.admin',
- 'django.contrib.sites',
- 'django.contrib.flatpages',
- 'django.contrib.markup',
- 'django.contrib.staticfiles',
- 'south',
- 'radio.frontend',
- 'radio.events',
- 'radio.library',
- 'radio.logs',
- 'radio.station',
- 'radio.staff',
- 'gravatar',
- 'djcelery',
- 'gunicorn'
- )
- TEMPLATE_LOADERS = (
- 'django.template.loaders.filesystem.load_template_source',
- 'django.template.loaders.app_directories.load_template_source',
- )
- TEMPLATE_DIRS = (
- os.path.join(os.path.dirname(__file__), "templates"),
- )
- AUTH_PROFILE_MODULE = 'radio_station.DJ'
- SITE_ID = 1
- NODE_PORT = 8124
- try:
- from local_settings import *
- except ImportError:
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement