mock views for job list and detail
[qcg-portal.git] / plgng / settings.py
1 """
2 Django settings for plgng project.
3
4 For more information on this file, see
5 https://docs.djangoproject.com/en/1.7/topics/settings/
6
7 For the full list of settings and their values, see
8 https://docs.djangoproject.com/en/1.7/ref/settings/
9 """
10
11 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
12 import os
13
14 import django.conf.global_settings as defaults
15
16
17 BASE_DIR = os.path.dirname(os.path.dirname(__file__))
18
19
20 # Quick-start development settings - unsuitable for production
21 # See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
22
23 # SECURITY WARNING: keep the secret key used in production secret!
24 SECRET_KEY = 'x%_rlnhibsxum1m5o_c5ac@p0nw+1r0&#k!v3+52)s(d=2$5y&'
25
26 # SECURITY WARNING: don't run with debug turned on in production!
27 DEBUG = True
28
29 TEMPLATE_DEBUG = True
30
31 ALLOWED_HOSTS = []
32
33
34 # Application definition
35
36 INSTALLED_APPS = (
37     'grappelli',
38     'django.contrib.admin',
39     'django.contrib.auth',
40     'django.contrib.contenttypes',
41     'django.contrib.sessions',
42     'django.contrib.messages',
43     'django.contrib.staticfiles',
44     'django.contrib.webdesign',
45     'qcg',
46 )
47
48 MIDDLEWARE_CLASSES = (
49     'django.contrib.sessions.middleware.SessionMiddleware',
50     'django.middleware.common.CommonMiddleware',
51     'django.middleware.csrf.CsrfViewMiddleware',
52     'django.contrib.auth.middleware.AuthenticationMiddleware',
53     'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
54     'django.contrib.messages.middleware.MessageMiddleware',
55     'django.middleware.clickjacking.XFrameOptionsMiddleware',
56 )
57
58 TEMPLATE_CONTEXT_PROCESSORS = defaults.TEMPLATE_CONTEXT_PROCESSORS + (
59     'django.core.context_processors.request',
60 )
61
62 ROOT_URLCONF = 'plgng.urls'
63
64 WSGI_APPLICATION = 'plgng.wsgi.application'
65
66
67 # Database
68 # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
69
70 DATABASES = {
71     'default': {
72         'ENGINE': 'django.db.backends.sqlite3',
73         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
74     }
75 }
76
77 # Internationalization
78 # https://docs.djangoproject.com/en/1.7/topics/i18n/
79
80 LANGUAGE_CODE = 'pl'
81
82 TIME_ZONE = 'Europe/Warsaw'
83
84 USE_I18N = True
85
86 USE_L10N = True
87
88 USE_TZ = True
89
90
91 # Static files (CSS, JavaScript, Images)
92 # https://docs.djangoproject.com/en/1.7/howto/static-files/
93
94 STATIC_URL = '/static/'