|
1 | 1 | """ |
2 | 2 | Django settings for diary project. |
3 | 3 |
|
4 | | -Generated by 'django-admin startproject' using Django 3.2.1. |
| 4 | +Generated by 'django-admin startproject' using Django 5.1.4. |
5 | 5 |
|
6 | 6 | For more information on this file, see |
7 | | -https://docs.djangoproject.com/en/3.2/topics/settings/ |
| 7 | +https://docs.djangoproject.com/en/5.1/topics/settings/ |
8 | 8 |
|
9 | 9 | For the full list of settings and their values, see |
10 | | -https://docs.djangoproject.com/en/3.2/ref/settings/ |
| 10 | +https://docs.djangoproject.com/en/5.1/ref/settings/ |
11 | 11 | """ |
12 | 12 |
|
13 | 13 | from pathlib import Path |
|
17 | 17 |
|
18 | 18 |
|
19 | 19 | # Quick-start development settings - unsuitable for production |
20 | | -# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ |
| 20 | +# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/ |
21 | 21 |
|
22 | 22 | # SECURITY WARNING: keep the secret key used in production secret! |
23 | 23 | SECRET_KEY = ( |
24 | | - "django-insecure-kom*7k3n4v3gj_mrcp19r_(rl#v^t2v90i_t2dd9&4*4e1nb%+" |
| 24 | + "django-insecure-lxfw6(cjvk39um)u-pot#ri79*14rg_c#1nharb)&l10%5jymv" |
25 | 25 | ) |
26 | 26 |
|
27 | 27 | # SECURITY WARNING: don't run with debug turned on in production! |
|
74 | 74 |
|
75 | 75 |
|
76 | 76 | # Database |
77 | | -# https://docs.djangoproject.com/en/3.2/ref/settings/#databases |
| 77 | +# https://docs.djangoproject.com/en/5.1/ref/settings/#databases |
78 | 78 |
|
79 | 79 | DATABASES = { |
80 | 80 | "default": { |
|
85 | 85 |
|
86 | 86 |
|
87 | 87 | # Password validation |
88 | | -# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators |
| 88 | +# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators |
89 | 89 |
|
90 | 90 | AUTH_PASSWORD_VALIDATORS = [ |
91 | 91 | { |
|
104 | 104 |
|
105 | 105 |
|
106 | 106 | # Internationalization |
107 | | -# https://docs.djangoproject.com/en/3.2/topics/i18n/ |
| 107 | +# https://docs.djangoproject.com/en/5.1/topics/i18n/ |
108 | 108 |
|
109 | 109 | LANGUAGE_CODE = "en-us" |
110 | 110 |
|
111 | 111 | TIME_ZONE = "UTC" |
112 | 112 |
|
113 | 113 | USE_I18N = True |
114 | 114 |
|
115 | | -USE_L10N = True |
116 | | - |
117 | 115 | USE_TZ = True |
118 | 116 |
|
119 | 117 |
|
120 | 118 | # Static files (CSS, JavaScript, Images) |
121 | | -# https://docs.djangoproject.com/en/3.2/howto/static-files/ |
| 119 | +# https://docs.djangoproject.com/en/5.1/howto/static-files/ |
122 | 120 |
|
123 | | -STATIC_URL = "/static/" |
| 121 | +STATIC_URL = "static/" |
124 | 122 |
|
125 | 123 | # Default primary key field type |
126 | | -# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field |
| 124 | +# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field |
127 | 125 |
|
128 | 126 | DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" |
0 commit comments