Skip to content

Commit c8a281b

Browse files
committed
docs: Point Django docs links to stable version
1 parent 5f33a7f commit c8a281b

6 files changed

Lines changed: 30 additions & 30 deletions

File tree

docs/explanation/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ else:
7777
[benefits-manage]: https://github.com/cal-itp/benefits/blob/main/manage.py
7878
[benefits-settings]: https://github.com/cal-itp/benefits/blob/main/benefits/settings.py
7979
[benefits-wsgi]: https://github.com/cal-itp/benefits/blob/main/benefits/wsgi.py
80-
[django-model]: https://docs.djangoproject.com/en/5.0/topics/db/models/
81-
[django-settings]: https://docs.djangoproject.com/en/5.0/topics/settings/
82-
[django-using-settings]: https://docs.djangoproject.com/en/5.0/topics/settings/#using-settings-in-python-code
80+
[django-model]: https://docs.djangoproject.com/en/stable/topics/db/models/
81+
[django-settings]: https://docs.djangoproject.com/en/stable/topics/settings/
82+
[django-using-settings]: https://docs.djangoproject.com/en/stable/topics/settings/#using-settings-in-python-code
8383
[env-vars]: ../reference/environment-variables.md
8484
[data]: ../tutorials/load-sample-data.md
8585
[getting-started]: ../guides/getting-started.md

docs/explanation/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Push the new image:tag to the Azure App Service instance.
4949
## Configuration
5050

5151
Sensitive [configuration settings](configuration.md) are maintained as Application Configuration variables in Azure,
52-
referencing [Azure Key Vault secrets](https://azure.microsoft.com/en-us/products/key-vault/). Other non-sensitive configuration is maintained directly in the configuration database via the [Django Admin](https://docs.djangoproject.com/en/5.2/ref/contrib/admin/).
52+
referencing [Azure Key Vault secrets](https://azure.microsoft.com/en-us/products/key-vault/). Other non-sensitive configuration is maintained directly in the configuration database via the [Django Admin](https://docs.djangoproject.com/en/stable/ref/contrib/admin/).
5353

5454
## Docker images
5555

docs/explanation/development/application-logic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ app is imported by the other apps.
4141

4242
## Django request pipeline
4343

44-
Each request to the Benefits app is ultimately a [Django request](https://docs.djangoproject.com/en/5.0/ref/request-response/)
45-
and goes through the [Django HTTP request pipeline](https://docs.djangoproject.com/en/5.0/topics/http/).
44+
Each request to the Benefits app is ultimately a [Django request](https://docs.djangoproject.com/en/stable/ref/request-response/)
45+
and goes through the [Django HTTP request pipeline](https://docs.djangoproject.com/en/stable/topics/http/).
4646

4747
Benefits uses middleware to pre- and post-process requests for (view) access control, session configuration, and analytics.
4848
Benefits also uses context processors to enrich the Django template context with data needed for rendering on the front-end.

docs/explanation/development/i18n.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
!!! tldr "Django docs"
44

5-
[Internationalization and localization](https://docs.djangoproject.com/en/5.0/topics/i18n/)
5+
[Internationalization and localization](https://docs.djangoproject.com/en/stable/topics/i18n/)
66

7-
[Translation](https://docs.djangoproject.com/en/5.0/topics/i18n/translation/)
7+
[Translation](https://docs.djangoproject.com/en/stable/topics/i18n/translation/)
88

99
!!! example "Message files"
1010

1111
English messages: [benefits/locale/en/LC_MESSAGES/django.po](https://github.com/cal-itp/benefits/blob/main/benefits/locale/en/LC_MESSAGES/django.po)
1212

1313
The Cal-ITP Benefits application is fully internationalized and available in both English and Spanish.
1414

15-
It uses Django's built-in support for translation using [message files](https://docs.djangoproject.com/en/5.0/topics/i18n/#term-message-file), which contain entries of `msgid`/`msgstr` pairs. The `msgid` is referenced in source code so that Django takes care of showing the `msgstr` for the user's language.
15+
It uses Django's built-in support for translation using [message files](https://docs.djangoproject.com/en/stable/topics/i18n/#term-message-file), which contain entries of `msgid`/`msgstr` pairs. The `msgid` is referenced in source code so that Django takes care of showing the `msgstr` for the user's language.
1616

1717
## Updating message files
1818

@@ -42,7 +42,7 @@ When templates have different copy per agency, create a new template for that ag
4242

4343
### Fuzzy strings
4444

45-
From [Django docs](https://docs.djangoproject.com/en/5.0/topics/i18n/translation/#message-files):
45+
From [Django docs](https://docs.djangoproject.com/en/stable/topics/i18n/translation/#message-files):
4646

4747
> `makemessages` sometimes generates translation entries marked as fuzzy, e.g. when translations are inferred from previously translated strings.
4848

docs/index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@ The following California transit providers have adopted Cal-ITP Benefits. The be
9090

9191
| Transit provider | Initial launch date | Older adults | Medicare cardholders | U.S. Veterans | CalFresh cardholders | Agency card |
9292
| --------------------------------------------------- | ------------------- | ------------ | -------------------- | ------------- | -------------------- | ----------- |
93-
| **Monterey-Salinas Transit** | 12/2021 | ✅ | ✅ | ✅ | ― | ✅
94-
| **Santa Barbara Metropolitan Transit District** | 10/2023 | ✅ | ✅ | ― | ― | ✅
95-
| **Sacramento Regional Transit District** | 10/2024 | ✅ | ✅ | ✅ | ― | ―
96-
| **Nevada County Connects** | 03/2025 | ✅ | ✅ | ✅ | ― | ―
97-
| **Ventura County Transportation Commission** | 10/2025 | ✅ | ✅ | ― | ― | ―
98-
| **San Luis Obispo Regional Transit** | 12/2025 | ✅ | ✅ | ― | ― | ―
99-
| **El Dorado Transit Authority** | 01/2026 | ✅ | ✅ | ― | ― | ―
100-
| **Redding Area Bus Authority** | 02/2026 | ✅ | ✅ | ✅ | ✅ | ―
101-
| **City of San Luis Obispo** | 04/2026 (target) | \* | \* | \* | \* | \*
102-
| **City of Roseville** | 07/2026 (target) | \* | \* | \* | \* | \*
103-
| **Santa Cruz Metropolitan Transit District** | Planned | \* | \* | \* | \* | \*
104-
| **Santa Barbara County Association of Governments** | Planned | \* | \* | \* | \* | \*
93+
| **Monterey-Salinas Transit** | 12/2021 ||||| |
94+
| **Santa Barbara Metropolitan Transit District** | 10/2023 ||||| |
95+
| **Sacramento Regional Transit District** | 10/2024 ||||| |
96+
| **Nevada County Connects** | 03/2025 ||||| |
97+
| **Ventura County Transportation Commission** | 10/2025 ||||| |
98+
| **San Luis Obispo Regional Transit** | 12/2025 ||||| |
99+
| **El Dorado Transit Authority** | 01/2026 ||||| |
100+
| **Redding Area Bus Authority** | 02/2026 ||||| |
101+
| **City of San Luis Obispo** | 04/2026 (target) | \* | \* | \* | \* | \* |
102+
| **City of Roseville** | 07/2026 (target) | \* | \* | \* | \* | \* |
103+
| **Santa Cruz Metropolitan Transit District** | Planned | \* | \* | \* | \* | \* |
104+
| **Santa Barbara County Association of Governments** | Planned | \* | \* | \* | \* | \* |
105105

106106
## Supported enrollment pathways
107107

@@ -197,4 +197,4 @@ All code changes are reviewed by at least one other member of the engineering te
197197
[hosting]: explanation/deployment.md
198198
[littlepay]: https://littlepay.com/
199199
[switchio]: https://switchio.com/transport/
200-
[i18n]: https://docs.djangoproject.com/en/5.0/topics/i18n/
200+
[i18n]: https://docs.djangoproject.com/en/stable/topics/i18n/

docs/reference/environment-variables.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If blank or an invalid key, analytics events aren't captured (though may still b
5555

5656
!!! tldr "Django docs"
5757

58-
[Settings: `ALLOWS_HOSTS`](https://docs.djangoproject.com/en/5.0/ref/settings/#allowed-hosts)
58+
[Settings: `ALLOWS_HOSTS`](https://docs.djangoproject.com/en/stable/ref/settings/#allowed-hosts)
5959

6060
A list of strings representing the host/domain names that this Django site can serve.
6161

@@ -112,7 +112,7 @@ Boolean:
112112

113113
!!! tldr "Django docs"
114114

115-
[Settings: `DEBUG`](https://docs.djangoproject.com/en/5.0/ref/settings/#debug)
115+
[Settings: `DEBUG`](https://docs.djangoproject.com/en/stable/ref/settings/#debug)
116116

117117
Boolean:
118118

@@ -141,7 +141,7 @@ From inside the container, the app is always listening on port `8000`.
141141

142142
!!! tldr "Django docs"
143143

144-
[Settings: `LOGGING`](https://docs.djangoproject.com/en/5.0/ref/settings/#logging)
144+
[Settings: `LOGGING`](https://docs.djangoproject.com/en/stable/ref/settings/#logging)
145145

146146
The log level used in the application's logging configuration.
147147
Defaults to `DEBUG` when Django is running in debug mode and `WARNING` otherwise.
@@ -156,7 +156,7 @@ By default the application sends logs to `stdout`.
156156

157157
!!! tldr "Django docs"
158158

159-
[Settings: `SECRET_KEY`](https://docs.djangoproject.com/en/5.0/ref/settings/#secret-key)
159+
[Settings: `SECRET_KEY`](https://docs.djangoproject.com/en/stable/ref/settings/#secret-key)
160160

161161
Django's primary secret, keep this safe!
162162

@@ -192,7 +192,7 @@ The username of the Django Admin superuser created when resetting the database.
192192

193193
!!! tldr "Django docs"
194194

195-
[Settings: `CSRF_TRUSTED_ORIGINS`](https://docs.djangoproject.com/en/5.0/ref/settings/#csrf-trusted-origins)
195+
[Settings: `CSRF_TRUSTED_ORIGINS`](https://docs.djangoproject.com/en/stable/ref/settings/#csrf-trusted-origins)
196196

197197
Comma-separated list of hosts which are trusted origins for unsafe requests (e.g. POST)
198198

@@ -208,7 +208,7 @@ Comma-separated list of User-Agent strings which, when present as an HTTP header
208208

209209
!!! tldr "Django docs"
210210

211-
[The Django admin site](https://docs.djangoproject.com/en/5.0/ref/contrib/admin/)
211+
[The Django admin site](https://docs.djangoproject.com/en/stable/ref/contrib/admin/)
212212

213213
The configuration values that can be stored in the application database are managed directly in the Django Admin interface at the `/admin` endpoint.
214214

@@ -230,7 +230,7 @@ In deployed instances, this is automatically set by Terraform by referencing the
230230

231231
!!! tldr "Django docs"
232232

233-
[Settings: `DEFAULT_FROM_EMAIL`](https://docs.djangoproject.com/en/5.2/ref/settings/#default-from-email)
233+
[Settings: `DEFAULT_FROM_EMAIL`](https://docs.djangoproject.com/en/stable/ref/settings/#default-from-email)
234234

235235
The email address used by default in the `From:` header of outgoing emails.
236236

0 commit comments

Comments
 (0)