|
2 | 2 | Django settings for project project.
|
3 | 3 |
|
4 | 4 | For more information on this file, see
|
5 |
| -https://docs.djangoproject.com/en/1.6/topics/settings/ |
| 5 | +https://docs.djangoproject.com/en/1.7/topics/settings/ |
6 | 6 |
|
7 | 7 | For the full list of settings and their values, see
|
8 |
| -https://docs.djangoproject.com/en/1.6/ref/settings/ |
| 8 | +https://docs.djangoproject.com/en/1.7/ref/settings/ |
9 | 9 | """
|
10 | 10 |
|
11 | 11 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
|
14 | 14 |
|
15 | 15 |
|
16 | 16 | # Quick-start development settings - unsuitable for production
|
17 |
| -# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ |
| 17 | +# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ |
18 | 18 |
|
19 | 19 | # SECURITY WARNING: keep the secret key used in production secret!
|
20 | 20 | SECRET_KEY = '{SECRET_KEY}'
|
|
43 | 43 | 'django.middleware.common.CommonMiddleware',
|
44 | 44 | 'django.middleware.csrf.CsrfViewMiddleware',
|
45 | 45 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
| 46 | + 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', |
46 | 47 | 'django.contrib.messages.middleware.MessageMiddleware',
|
47 | 48 | 'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
48 | 49 | )
|
|
53 | 54 |
|
54 | 55 |
|
55 | 56 | # Database
|
56 |
| -# https://docs.djangoproject.com/en/1.6/ref/settings/#databases |
| 57 | +# https://docs.djangoproject.com/en/1.7/ref/settings/#databases |
57 | 58 |
|
58 | 59 | DATABASES = {
|
59 | 60 | 'default': {
|
|
63 | 64 | }
|
64 | 65 |
|
65 | 66 | # Internationalization
|
66 |
| -# https://docs.djangoproject.com/en/1.6/topics/i18n/ |
| 67 | +# https://docs.djangoproject.com/en/1.7/topics/i18n/ |
67 | 68 |
|
68 | 69 | LANGUAGE_CODE = 'en-us'
|
69 | 70 |
|
|
77 | 78 |
|
78 | 79 |
|
79 | 80 | # Static files (CSS, JavaScript, Images)
|
80 |
| -# https://docs.djangoproject.com/en/1.6/howto/static-files/ |
| 81 | +# https://docs.djangoproject.com/en/1.7/howto/static-files/ |
81 | 82 |
|
82 | 83 | STATIC_URL = '/static/'
|
0 commit comments