Skip to content

Commit 105306b

Browse files
authored
docs: Update Django docs links to 4.2 (#4818)
1 parent 513b088 commit 105306b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/docs/deployment/hosting/kubernetes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ should be provided as:
198198

199199
:::caution
200200

201-
It's important to define a [`secretKey`](https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-SECRET_KEY)
201+
It's important to define a [`secretKey`](https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-SECRET_KEY)
202202
value in your helm chart when running in Kubernetes. Use a password manager to generate a random hash and set this so
203203
that all the API nodes are running with an identical `DJANGO_SECRET_KEY`.
204204

docs/docs/deployment/hosting/locally-api.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -187,23 +187,23 @@ the below variables will be ignored.
187187
- `ENABLE_ADMIN_ACCESS_USER_PASS`: Boolean. Set this flag to enable login to admin panel using username and password.
188188
- `USE_X_FORWARDED_HOST`: Boolean. Default `False`. Specifies whether to use the X-Forwarded-Host header in preference
189189
to the Host header. This should only be enabled if a proxy which sets this header is in use.
190-
[More Info](https://docs.djangoproject.com/en/4.0/ref/settings/#std:setting-USE_X_FORWARDED_HOST).
190+
[More Info](https://docs.djangoproject.com/en/4.2/ref/settings/#std:setting-USE_X_FORWARDED_HOST).
191191
- `SECURE_PROXY_SSL_HEADER_NAME`: String. The name of the header looked for by Django's
192-
[`SECURE_PROXY_SSL_HEADER`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-proxy-ssl-header). Defaults to
192+
[`SECURE_PROXY_SSL_HEADER`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-proxy-ssl-header). Defaults to
193193
`HTTP_X_FORWARDED_PROTO`.
194194
- `SECURE_PROXY_SSL_HEADER_VALUE`: String. The value of the header looked for by Django's
195-
[`SECURE_PROXY_SSL_HEADER`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-proxy-ssl-header). Defaults to
195+
[`SECURE_PROXY_SSL_HEADER`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-proxy-ssl-header). Defaults to
196196
`https`.
197197
- `DJANGO_SECURE_REDIRECT_EXEMPT`: List. Passthrough of Django's
198-
[`SECURE_REDIRECT_EXEMPT`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-redirect-exempt). Defaults to an
198+
[`SECURE_REDIRECT_EXEMPT`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-redirect-exempt). Defaults to an
199199
empty list `[]`.
200200
- `DJANGO_SECURE_REFERRER_POLICY`: String. Passthrough of Django's
201-
[`SECURE_REFERRER_POLICY`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-referrer-policy). Defaults to
201+
[`SECURE_REFERRER_POLICY`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-referrer-policy). Defaults to
202202
`same-origin`.
203203
- `DJANGO_SECURE_SSL_HOST`: String. Passthrough of Django's
204-
[`SECURE_SSL_HOST`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-ssl-host). Defaults to `None`.
204+
[`SECURE_SSL_HOST`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-ssl-host). Defaults to `None`.
205205
- `DJANGO_SECURE_SSL_REDIRECT`: Boolean. Passthrough of Django's
206-
[`SECURE_SSL_REDIRECT`](https://docs.djangoproject.com/en/4.0/ref/settings/#secure-ssl-redirect). Defaults to `False`.
206+
[`SECURE_SSL_REDIRECT`](https://docs.djangoproject.com/en/4.2/ref/settings/#secure-ssl-redirect). Defaults to `False`.
207207
- [`APPLICATION_INSIGHTS_CONNECTION_STRING`](https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview).
208208
String. Connection string to set up Flagsmith to send telemetry to Azure Application Insights.
209209
- [`OPENCENSUS_SAMPLING_RATE`](https://opencensus.io/tracing/sampling/probabilistic/): Float. The tracer sample rate.
@@ -392,8 +392,8 @@ variables:
392392
| Environment Variable | Description | Example value | Default |
393393
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ | --------------------------------------------- |
394394
| <code>GET\_[FLAGS&#124;IDENTITIES]\_ENDPOINT_CACHE_SECONDS</code> | Number of seconds to cache the response to `GET /api/v1/flags` | `60` | `0` |
395-
| <code>GET\_[FLAGS&#124;IDENTITIES]\_ENDPOINT_CACHE_BACKEND</code> | Python path to the django cache backend chosen. See documentation [here](https://docs.djangoproject.com/en/3.2/topics/cache/). | `django.core.cache.backends.memcached.PyMemcacheCache` | `django.core.cache.backends.dummy.DummyCache` |
396-
| <code>GET\_[FLAGS&#124;IDENTITIES]\_ENDPOINT_CACHE_LOCATION</code> | The location for the cache. See documentation [here](https://docs.djangoproject.com/en/3.2/topics/cache/). | `127.0.0.1:11211` | `get_flags_endpoint_cache` |
395+
| <code>GET\_[FLAGS&#124;IDENTITIES]\_ENDPOINT_CACHE_BACKEND</code> | Python path to the django cache backend chosen. See documentation [here](https://docs.djangoproject.com/en/4.2/topics/cache/). | `django.core.cache.backends.memcached.PyMemcacheCache` | `django.core.cache.backends.dummy.DummyCache` |
396+
| <code>GET\_[FLAGS&#124;IDENTITIES]\_ENDPOINT_CACHE_LOCATION</code> | The location for the cache. See documentation [here](https://docs.djangoproject.com/en/4.2/topics/cache/). | `127.0.0.1:11211` | `get_flags_endpoint_cache` |
397397

398398
An example configuration to cache both flags and identities requests for 30 seconds in a memcached instance hosted at
399399
`memcached-container`:
@@ -416,8 +416,8 @@ cache will be cleared automatically by certain actions in the platform when the
416416
| Environment Variable | Description | Example value | Default |
417417
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ | --------------------------------------------- |
418418
| `ENVIRONMENT_CACHE_SECONDS` | Number of seconds to cache the environment for | `60` | `86400` ( = 24h) |
419-
| `ENVIRONMENT_CACHE_BACKEND` | Python path to the django cache backend chosen. See documentation [here](https://docs.djangoproject.com/en/3.2/topics/cache/). | `django.core.cache.backends.memcached.PyMemcacheCache` | `django.core.cache.backends.dummy.DummyCache` |
420-
| `ENVIRONMENT_CACHE_LOCATION` | The location for the cache. See documentation [here](https://docs.djangoproject.com/en/3.2/topics/cache/). | `127.0.0.1:11211` | `environment-objects` |
419+
| `ENVIRONMENT_CACHE_BACKEND` | Python path to the django cache backend chosen. See documentation [here](https://docs.djangoproject.com/en/4.2/topics/cache/). | `django.core.cache.backends.memcached.PyMemcacheCache` | `django.core.cache.backends.dummy.DummyCache` |
420+
| `ENVIRONMENT_CACHE_LOCATION` | The location for the cache. See documentation [here](https://docs.djangoproject.com/en/4.2/topics/cache/). | `127.0.0.1:11211` | `environment-objects` |
421421

422422
## Unified Front End and Back End Build
423423

0 commit comments

Comments
 (0)