|
2 | 2 | Django settings for pythonsd project. |
3 | 3 |
|
4 | 4 | For more information on this file, see |
5 | | -https://docs.djangoproject.com/en/4.2/topics/settings/ |
| 5 | +https://docs.djangoproject.com/en/dev/topics/settings/ |
6 | 6 |
|
7 | 7 | For the full list of settings and their values, see |
8 | | -https://docs.djangoproject.com/en/4.2/ref/settings/ |
| 8 | +https://docs.djangoproject.com/en/dev/ref/settings/ |
9 | 9 | """ |
10 | 10 |
|
11 | 11 | import json |
|
20 | 20 |
|
21 | 21 |
|
22 | 22 | # Quick-start development settings - unsuitable for production |
23 | | -# https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ |
| 23 | +# https://docs.djangoproject.com/en/dev/howto/deployment/checklist/ |
24 | 24 |
|
25 | 25 | # SECURITY WARNING: keep the secret key used in production secret! |
26 | 26 | # SECURITY WARNING: don't run with debug turned on in production! |
|
82 | 82 |
|
83 | 83 |
|
84 | 84 | # Database |
85 | | -# https://docs.djangoproject.com/en/4.2/ref/settings/#databases |
| 85 | +# https://docs.djangoproject.com/en/dev/ref/settings/#databases |
86 | 86 | # -------------------------------------------------------------------------- |
87 | 87 | DATABASES = {"default": dj_database_url.config(default="sqlite:///db.sqlite3")} |
88 | 88 | DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" |
89 | 89 |
|
90 | 90 |
|
91 | 91 | # Internationalization |
92 | | -# https://docs.djangoproject.com/en/4.2/topics/i18n/ |
| 92 | +# https://docs.djangoproject.com/en/dev/topics/i18n/ |
93 | 93 | # -------------------------------------------------------------------------- |
94 | 94 | LANGUAGE_CODE = "en-us" |
95 | 95 |
|
|
101 | 101 |
|
102 | 102 |
|
103 | 103 | # Static files (CSS, JavaScript, Images) |
104 | | -# https://docs.djangoproject.com/en/4.2/howto/static-files/ |
105 | | -# https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-STORAGES |
| 104 | +# https://docs.djangoproject.com/en/dev/howto/static-files/ |
| 105 | +# https://docs.djangoproject.com/en/dev/ref/settings/#std-setting-STORAGES |
106 | 106 | # -------------------------------------------------------------------------- |
107 | 107 | STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles") |
108 | 108 | STATIC_URL = "/static-files/" |
|
127 | 127 |
|
128 | 128 |
|
129 | 129 | # Email |
130 | | -# https://docs.djangoproject.com/en/4.2/topics/email/ |
| 130 | +# https://docs.djangoproject.com/en/dev/topics/email/ |
131 | 131 | # -------------------------------------------------------------------------- |
132 | 132 | EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" |
133 | 133 | DEFAULT_FROM_EMAIL = "[email protected]" |
134 | 134 | SERVER_EMAIL = DEFAULT_FROM_EMAIL |
135 | 135 |
|
136 | 136 |
|
137 | 137 | # Caching |
138 | | -# https://docs.djangoproject.com/en/4.2/ref/settings/#caches |
| 138 | +# https://docs.djangoproject.com/en/dev/ref/settings/#caches |
139 | 139 | # -------------------------------------------------------------------------- |
140 | 140 | CACHES = { |
141 | 141 | "default": { |
|
148 | 148 | # A sample logging configuration. The only tangible logging |
149 | 149 | # performed by this configuration is to send an email to |
150 | 150 | # the site admins on every HTTP 500 error when DEBUG=False. |
151 | | -# http://docs.djangoproject.com/en/4.2/topics/logging |
152 | | -# https://docs.djangoproject.com/en/4.2/ref/settings/#logging |
| 151 | +# http://docs.djangoproject.com/en/dev/topics/logging |
| 152 | +# https://docs.djangoproject.com/en/dev/ref/settings/#logging |
153 | 153 | # -------------------------------------------------------------------------- |
154 | 154 | LOGGING = { |
155 | 155 | "version": 1, |
|
0 commit comments