Add documentation on all the Djblets settings.
Review Request #15207 — Created July 29, 2026 and updated
This introduces a Settings guide, which covers all the
settings.py
settings managed by Djblets. It's broken down into category, using the
setting::directive provided by beanbag-docutils. As a note, these
docs are initially written by Claude, edited by me.All references to these in existing docstrings and guides have been
updated to use the:setting:role.
Built the docs. Checked that the settings page's organization and
descriptions were correct. Checked the links from other doc pages
to make sure the links were correct.Verified there were no build errors.
| Summary | ID |
|---|---|
| f8d50f17e549272e098fa71f6497f1d781c34a2d |
| Description | From | Last Updated |
|---|---|---|
|
line too long (82 > 79 characters) Column: 80 Error code: E501 |
|
|
|
line too long (82 > 79 characters) Column: 80 Error code: E501 |
|
|
|
line too long (82 > 79 characters) Column: 80 Error code: E501 |
|
|
|
This should be changed to be :setting: |
|
|
|
While I was asking claude questions about this change it noticed that the name in this error message doesn't match … |
|
|
|
This is (was already) incorrect. It only performs caching if PRODUCTION is True. |
|
|
|
Underline isn't the right length. |
|
|
|
There's no real default to this value. Can we say "if unset, Djblets treats the site as being served from … |
|
|
|
This should mention the default of 60 * 60 * 24 * 30 (30 days) |
|
|
|
This setting has existed for a long time. What 6.1 adds is the class attribute, not the setting. |
|
|
|
Underline isn't the right length. |
|
|
|
Underline isn't the right length. |
|
|
|
Underline isn't the right length. |
|
|
|
The default value is actually the ID, not the class. |
|
|
|
The default value is actually the ID, not the class. |
|
|
|
Typo: missing a backtick in front of "From" |
|
|
|
Underline isn't the right length. |
|
- Change Summary:
-
Fixed line length issues.
- Commits:
-
Summary ID bd30350a4cb2a0c91d48e95cb3fa2dad23a23aa2 f8d50f17e549272e098fa71f6497f1d781c34a2d
Checks run (2 succeeded)
-
-
-
While I was asking claude questions about this change it noticed that the name in this error message doesn't match the actual setting checked above.
-
-
-
There's no real default to this value. Can we say "if unset, Djblets treats the site as being served from the domain root"?
We should also mention that if someone is using
djblets.urls.context_processors.site_root, this must be explicitly set. -
-
-
-
-
-
-
-
-