Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat settings.py
- import os.path
- DEPLOY_PATH = os.path.dirname(__file__) # This is the base dir for everything
- ADMINS = (
- # ('Your Name', 'your_email@domain.com'),
- )
- DATABASE_ENGINE = 'mysql'
- DATABASE_NAME = 'aur2'
- DATABASE_USER = 'aur2' # Not used with sqlite3.
- DATABASE_PASSWORD = 'xxx' # 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.
- MANAGERS = ADMINS
- TIME_ZONE = 'America/Chicago'
- LANGUAGE_CODE = 'en-us'
- SITE_ID = 1
- USE_I18N = True
- # Absolute path to the directory that holds media.
- MEDIA_ROOT = os.path.join(DEPLOY_PATH, 'media')
- MEDIA_URL = '/media/'
- # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
- # trailing slash.
- ADMIN_MEDIA_PREFIX = '/media/admin/'
- # Make this unique, and don't share it with anybody.
- SECRET_KEY = ''
- # 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',
- )
- MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- )
- ROOT_URLCONF = 'archlinux.urls'
- TEMPLATE_DIRS = (
- os.path.join(DEPLOY_PATH, 'templates'),
- )
- FIXTURE_DIRS = (
- os.path.join(DEPLOY_PATH, 'fixtures'),
- )
- INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.admin',
- 'django.contrib.sites',
- 'aur',
- 'registration',
- 'aurprofile',
- 'tagging',
- )
- # Third party settings
- # django-registration
- ACCOUNT_ACTIVATION_DAYS = 1
- # django-tagging
- FORCE_LOWERCASE_TAGS = True
- # Import local settings if they exist
- try:
- from settings_local import *
- except ImportError:
- pass
Add Comment
Please, Sign In to add comment