|
1 | 1 | # -*- coding: utf-8 -*-
|
2 | 2 | """
|
3 |
| -Django settings for mysite project. |
| 3 | +Django settings for store_backend project. |
4 | 4 |
|
5 |
| -Generated by 'django-admin startproject' using Django 4.0. |
| 5 | +Generated by 'django-admin startproject' using Django 4.2.5. |
6 | 6 |
|
7 | 7 | For more information on this file, see
|
8 |
| -https://docs.djangoproject.com/en/4.0/topics/settings/ |
| 8 | +https://docs.djangoproject.com/en/4.2/topics/settings/ |
9 | 9 |
|
10 | 10 | For the full list of settings and their values, see
|
11 |
| -https://docs.djangoproject.com/en/4.0/ref/settings/ |
| 11 | +https://docs.djangoproject.com/en/4.2/ref/settings/ |
12 | 12 | """
|
13 | 13 |
|
14 | 14 | from pathlib import Path
|
|
95 | 95 |
|
96 | 96 |
|
97 | 97 | # Database
|
98 |
| -# https://docs.djangoproject.com/en/4.0/ref/settings/#databases |
| 98 | +# https://docs.djangoproject.com/en/4.2/ref/settings/#databases |
99 | 99 |
|
100 | 100 | DATABASES = {
|
101 | 101 | 'default': {
|
|
105 | 105 |
|
106 | 106 |
|
107 | 107 | # Password validation
|
108 |
| -# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators |
| 108 | +# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators |
109 | 109 |
|
110 | 110 | AUTH_PASSWORD_VALIDATORS = [
|
111 | 111 | {
|
|
124 | 124 |
|
125 | 125 |
|
126 | 126 | # Internationalization
|
127 |
| -# https://docs.djangoproject.com/en/4.0/topics/i18n/ |
| 127 | +# https://docs.djangoproject.com/en/4.2/topics/i18n/ |
128 | 128 |
|
129 | 129 | LANGUAGE_CODE = 'en-us'
|
130 | 130 |
|
131 | 131 | TIME_ZONE = 'America/New_York'
|
132 | 132 |
|
133 | 133 | USE_I18N = True
|
134 | 134 |
|
135 |
| -USE_L10N = True |
136 |
| - |
137 | 135 | USE_TZ = True
|
138 | 136 |
|
139 | 137 |
|
140 | 138 | # Static files (CSS, JavaScript, Images)
|
141 |
| -# https://docs.djangoproject.com/en/4.0/howto/static-files/ |
142 |
| - |
143 |
| -STATIC_URL = '/static/' |
| 139 | +# https://docs.djangoproject.com/en/4.2/howto/static-files/ |
144 | 140 |
|
| 141 | +STATIC_URL = 'static/' |
145 | 142 |
|
146 | 143 | # Default primary key field type
|
147 |
| -# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field |
| 144 | +# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field |
148 | 145 |
|
149 | 146 | DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
0 commit comments