# vim: set fileencoding=utf-8 ts=4 shiftwidth=4 softtabstop=4 expandtab: # Django settings for elgarito project. DEBUG = True #DEBUG = False TEMPLATE_DEBUG = DEBUG DEFAULT_CHARSET = 'utf-8' ADMINS = ( ('kinote', 'kinote@kinote.org'), # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/home/kinote/proyectos/elgarito/elgarito_django.db', } } # Local time zone for this installation. All choices can be found here: # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE TIME_ZONE = 'CET' # Language code for this installation. All choices can be found here: # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes # http://blogs.law.harvard.edu/tech/stories/storyReader$15 LANGUAGE_CODE = 'es-es' SITE_ID = 1 # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = '/home/kinote/proyectos/elgarito/media' # URL that handles the media served from MEDIA_ROOT. # Example: "http://media.lawrence.com" MEDIA_URL = '/media/' STATIC_URL = '/static/' STATIC_ROOT = '/home/kinote/proyectos/elgarito/static' # 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 = '/adminmedia/' # Make this unique, and don't share it with anybody. SECRET_KEY = '%n52%oz7g8z7a*v9)+&bg0nneld%66-4wfq+j%!d$h$php81=s' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', # 'django.template.loaders.eggs.load_template_source', ) MIDDLEWARE_CLASSES = ( "django.middleware.common.CommonMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.doc.XViewMiddleware", ) ROOT_URLCONF = 'elgarito.urls' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates". # Always use forward slashes, even on Windows. "/home/kinote/proyectos/elgarito/templates/", ) INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.markup', 'oembed', 'photologue', 'tastypie', 'elgarito.principal', 'elgarito.blog', 'elgarito.encuestas', 'elgarito.tablon', 'elgarito.wiki', 'elgarito.usuarios', 'elgarito.servicios', ) AUTH_PROFILE_MODULE = 'usuarios.UserProfile'