vale981_fahrschule/fahrschule_vale981/settings.py

91 lines
2.2 KiB
Python
Raw Normal View History

2014-04-10 20:07:46 +02:00
"""
Django settings for fahrschule_vale981 project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'bew5&iyzi32e8j5!@)hdv02(6+94hp9n=15z-h@6b0pt88zbl@'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'fs_quiz',
)
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
ROOT_URLCONF = 'fahrschule_vale981.urls'
WSGI_APPLICATION = 'fahrschule_vale981.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
DATABASES = {
'default': {
2014-04-13 20:09:27 +02:00
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'fahrschule_1',
'USER': 'postgres',
'PASSWORD': 'valentin',
'HOST': 'localhost'
2014-04-10 20:07:46 +02:00
}
}
# Internationalization
# https://docs.djangoproject.com/en/1.6/topics/i18n/
LANGUAGE_CODE = 'de-DE'
TIME_ZONE = 'CET'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/
STATICFILES_DIRS = ('/home/vale981/PycharmProjects/vale981_fahrschule/static/',)
STATIC_URL = '/static/'
TEMPLATE_DIRS = (
"/home/vale981/PycharmProjects/vale981_fahrschule/templates", # Change this to your own directory.
)