Loading...

powered by co-ment®
 

# -*- coding: utf-8 -*- 

# Django settings for basic pinax project. 

 

import os.path 

 

PINAX_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../")) 

PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) 

 

DEBUG = True 

TEMPLATE_DEBUG = DEBUG 

 

USE_ETAGS = True 

 

# tells Pinax to serve media through django.views.static.serve. 

#SERVE_MEDIA = False 

 

ADMINS = ( 

     ('Bill Burton', '[email protected]'),

 

MANAGERS = ADMINS 

 

DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.

DATABASE_NAME = 'calcutec_worbro2'           # Or path to database file if using sqlite3.

DATABASE_USER = 'calcutec_worbro2'             # Not used with sqlite3.

DATABASE_PASSWORD = '44notrub44'         # Not used with sqlite3.

DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.

DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.

 

#Site Settings 

TIME_ZONE = 'US/Eastern' 

LANGUAGE_CODE = 'en' 

SITE_ID = 1 

USE_I18N = True 

 

# TINYMCE Settings 

TINYMCE_JS_URL = 'http://www.burtonblog.net/site_media/js/tiny_mce/tiny_mce_src.js' 

TINYMCE_DEFAULT_CONFIG = {'theme':"simple"} 

TINYMCE_SPELLCHECKER = False 

TINYMCE_COMPRESSOR = True 

 

# Absolute path to the directory that holds media. 

# Example: "/home/media/media.lawrence.com/" 

MEDIA_ROOT = os.path.join(os.path.dirname(__file__), "site_media") 

 

# URL that handles the media served from MEDIA_ROOT. 

# Example: "http://media.lawrence.com" 

MEDIA_URL = '/site_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 = '/media/' 

 

# Make this unique, and don't share it with anybody. 

SECRET_KEY = 'bk-e2zv3humar79nm=j*bwc=-ymeit(8a20whp3goq4dh71t)s' 

 

# List of callables that know how to import templates from various sources. 

TEMPLATE_LOADERS = ( 

    'django.template.loaders.filesystem.load_template_source',

    'django.template.loaders.app_directories.load_template_source',

CACHE_MIDDLEWARE_SECONDS = 600 

CACHE_MIDDLEWARE_KEY_PREFIX = '' 

CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True 

 

MIDDLEWARE_CLASSES = ( 

    'django.contrib.sessions.middleware.SessionMiddleware',

    'django.contrib.auth.middleware.AuthenticationMiddleware',

    'django.middleware.cache.UpdateCacheMiddleware',

    'django.middleware.common.CommonMiddleware',

    'django.middleware.cache.FetchFromCacheMiddleware',

    'django.middleware.http.ConditionalGetMiddleware',

    'django_openid.consumer.SessionConsumer',

    'account.middleware.LocaleMiddleware',

    'django.middleware.doc.XViewMiddleware',

    'pagination.middleware.PaginationMiddleware',

        'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',

 

ROOT_URLCONF = 'worbro.urls' 

 

TEMPLATE_DIRS = ( 

    os.path.join(os.path.dirname(__file__), "templates"),

)

 

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",

   

    "notification.context_processors.notification",

    "announcements.context_processors.site_wide_announcements",

    "account.context_processors.openid",

    "account.context_processors.account",

    "misc.context_processors.contact_email",

    "misc.context_processors.site_name",

 

    'worbro.blog.context_processors.blog',

    'worbro.core.context_processors.core',

 

 

INSTALLED_APPS = ( 

    # included

    'django.contrib.auth',

    'django.contrib.contenttypes',

    'django.contrib.sessions',

    'django.contrib.sites',

        'django.contrib.flatpages',

    'django.contrib.humanize',

    'django.contrib.admin',

    'django.contrib.markup',

   

    # external

    'notification', # must be first

    'django_openid',

    'emailconfirmation',

    'mailer',

    'announcements',

    'forum',

    'pagination',

    'photologue',

    'timezones',

    'ajax_validation',

    'tagging',

   

    # internal (for now)

    'basic_profiles',

    'account',

    'misc',

    'about',

    'worbro.blog',

    'worbro.core',

 

 

ABSOLUTE_URL_OVERRIDES = { 

    "auth.user": lambda o: "/profiles/%s/" % o.username,

 

AUTH_PROFILE_MODULE = 'basic_profiles.Profile' 

NOTIFICATION_LANGUAGE_MODULE = 'account.Account' 

 

 

# Registration Settings 

EMAIL_USE_TLS = True 

EMAIL_HOST = 'smtp.gmail.com' 

EMAIL_HOST_USER = '[email protected]

EMAIL_HOST_PASSWORD = 'worbro666' 

EMAIL_PORT = 587 

 

 

#Email Settings 

EMAIL_CONFIRMATION_DAYS = 7 

EMAIL_DEBUG = DEBUG 

CONTACT_EMAIL = "[email protected]

SITE_NAME = "BurtonBlog" 

LOGIN_URL = "/account/login" 

LOGIN_REDIRECT_URLNAME = "what_next" 

 

# Date Settings 

DATE_FORMAT = 'd M Y' 

TIME_FORMAT = 'H:i' 

DATETIME_FORMAT = 'd M Y \a\t H:i' 

 

# Personal Settings 

SITE_NAME = 'BurtonBlog.net' 

TITLE = 'The Burton Family Homepage' 

 

# local_settings.py can be used to override environment-specific settings

# like database and email that differ between development and production. 

try: 

    from local_settings import *

except ImportError: 

    pass

Togel Togel Togel Online Toto Slot Togel Online Togel178 Pedetogel Pedetogel Situs Togel Terpercaya Togel178 Togel279 Toto Macau Situs Togel Bandar Togel Agen Togel Bo Togel Daftar Togel Togel279 Toto Macau Bo Togel Terpercaya Toto Togel Sabatoto Slot Server Luar Negeri rote4d rote4d rote4d togel158 togel158 togel279 pedetogel togel178 rote4d sabatoto Togel279 Rote4d Togel Online togel sabatoto pedetogel Slot88 Situs Togel Prize 123 Bo Togel Terpercaya Togel Online Daftar Akun Togel Resmi Toto Macau Toto Togel Situs Togel Terpercaya Situs Togel Via Pulsa Tanpa Potongan Daftar Togel Via Pulsa Tanpa Potongan Daftar Togel Via Dana Togel Via Dana Toto Slot Bandar Togel Hadiah 4D 10 Juta Terpercaya Bandar Togel Hadiah 4D Bo Togel Hadiah 2D bo togel terpercaya pedetogel pedetogel togel178 togel178 togel158 PEDETOGEL PEDETOGEL PEDETOGEL pedetogel pedetogel Togel Via Dana Togel Situs Toto dana toto toto togel togel via pulsa bandar togel togel178 pedetogel sabatoto togel158 togel279 pragmatic178 novaslot88 result macau bo togel hadiah 2d 200rb daftar akun togel resmi dana toto togel158 pedetogel togel279 togel158 pedetogel rote4d rote4d sabatoto toto macau toto macau togel158 pedetogel sabatoto togel178 togel279 togel158 togel158 togel178 togel279 pedetogel togel158 sabatoto