Commit 829b0042 authored by Leo Iannacone's avatar Leo Iannacone

Ignore some local changes

parent 49ed93d7
locale/it/LC_MESSAGES/django.mo
locale/it/LC_MESSAGES/django.po
settings_local.py
osqa.wsgi
log/django.osqa.log
This source diff could not be displayed because it is too large. You can view the blob instead.
# encoding:utf-8
import os.path
SITE_SRC_ROOT = os.path.dirname(__file__)
LOG_FILENAME = 'django.osqa.log'
#for logging
import logging
logging.basicConfig(
filename=os.path.join(SITE_SRC_ROOT, 'log', LOG_FILENAME),
level=logging.ERROR,
format='%(pathname)s TIME: %(asctime)s MSG: %(filename)s:%(funcName)s:%(lineno)d %(message)s',
)
#ADMINS and MANAGERS
ADMINS = ()
MANAGERS = ADMINS
DEBUG = False
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': True
}
TEMPLATE_DEBUG = DEBUG
INTERNAL_IPS = ('127.0.0.1',)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'database_name',
'USER': 'database_user',
'PASSWORD': 'database_password',
'HOST': '',
'PORT': '',
}
}
#this is the default setting
#CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/')
#CACHE_BACKEND = 'dummy://'
#custom setting
#CACHE_BACKEND = 'memcached://<server-address>:<port>/'
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
# This should be equal to your domain name, plus the web application context.
# This shouldn't be followed by a trailing slash.
# I.e., http://www.yoursite.com or http://www.hostedsite.com/yourhostapp
APP_URL = 'http://chiedi.ubuntu-it.org'
#LOCALIZATIONS
TIME_ZONE = 'Europe/Rome'
#OTHER SETTINGS
USE_I18N = True
LANGUAGE_CODE = 'it'
DJANGO_VERSION = 1.3
OSQA_DEFAULT_SKIN = 'light'
# disable mysqlfulltxt and local authentication (registrations users)
DISABLED_MODULES = ['books', 'recaptcha', 'project_badges', 'mysqlfulltext', 'localauth', 'oauthauth', 'facebookauth', 'sphinxfulltext']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment