summaryrefslogtreecommitdiff
path: root/docs/ref/templates/api.txt
AgeCommit message (Collapse)Author
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2025-06-27Fixed #15727 -- Added Content Security Policy (CSP) support.Rob Hudson
This initial work adds a pair of settings to configure specific CSP directives for enforcing or reporting policy violations, a new `django.middleware.csp.ContentSecurityPolicyMiddleware` to apply the appropriate headers to responses, and a context processor to support CSP nonces in templates for safely inlining assets. Relevant documentation has been added for the 6.0 release notes, security overview, a new how-to page, and a dedicated reference section. Thanks to the multiple reviewers for their precise and valuable feedback. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-09-30Fixed #35797 -- Removed debug context processor from default project template.Marc Gibbons
2024-06-20Fixed #35441 -- Documented Context and RequestContext keyword arguments.John Higgins
2023-10-25Added missing pycon directives in various docs.Mariusz Felisiak
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-10Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
2023-01-17Removed versionadded/changed annotations for 4.1.Mariusz Felisiak
2022-04-19Fixed #33639 -- Enabled cached template loader in development.Carlton Gibson
2022-01-10Corrected signatures of some functions in docs.Mariusz Felisiak
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-02-11Documented an example custom context processor.Adam Johnson
2019-11-07Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and ↵Jon Dufresne
docs. Thanks Curtis Maloney for the original patch.
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-03-28Used extlinks for Django's source code.Tim Graham
2018-08-06Fixed typo in docs/ref/templates/api.txt.Josh Schneier
2018-08-06Fixed #28529 -- Fixed VariableDoesNotExist warnings in admin templates.Vlastimil Zíma
2018-06-28Fixed links for i18n context processor docs.Tim Graham
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-01-11Fixed #29002 -- Corrected cached template loader docs about when it's ↵Tim Graham
automatically enabled. Thanks oTree-org for the suggestion.
2017-12-07Fixed #28891 -- Documented Origin's loader attribute.M Somerville
2017-09-22Removed versionadded/changed annotations for 1.11.Tim Graham
2017-05-25Fixed #28239 -- Removed docs for a removed arg of template.Context.Tim Graham
2017-03-31Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates ↵Carlton Gibson
engine if multiple are defined.
2017-03-16Removed self from method signatures in docs.Alasdair Nicol
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2017-01-17Refs #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline.Tim Graham
2017-01-17Refs #15053 -- Removed support for non-recursive template loading.Tim Graham
Per deprecation timeline.
2016-12-14Fixed #27598 -- Allowed specifying directories for a filesystem template loader.Tim Graham
Thanks Carl Meyer for review.
2016-09-03Fixed #25788 -- Enabled the cached template loader if debug is False.Tim Graham
2016-08-18Refs #25854 -- Completed a RequestContext docs example.Tim Graham
2016-07-30Removed unnecessary 'just' from docs/ref/templates/api.txt.Ana Balica
2016-06-14Fixed #26754 -- Documented django.template.context_processors.tzVille Skyttä
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-04-09Fixed #26145 -- Made debug context processor return queries for all databases.Mounir Messelmeni
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2015-12-23Removed an extra header in docs/ref/templates/api.txt.Tim Graham
2015-11-17Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.Alex Morozov
2015-11-12Fixed #25469 -- Added autoescape option to DjangoTemplates backend.Aaron Elliot Ross
Thanks Aymeric for the initial patch and Carl for review.
2015-10-23Fixed #25397 -- Documented class-based view context variable clash with ↵Jacek Bzdak
context processors.
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-23Removed template.loader.BaseLoader per deprecation timeline.Tim Graham
2015-09-23Removed current_app argument to render() and TemplateResponse().Tim Graham
Per deprecation timeline.
2015-09-23Refs #24022 -- Removed the ssi tag per deprecation timeline.Tim Graham
2015-09-23Fixed #25386 -- Warned about differences between Engine and DjangoTemplates.Tim Graham
2015-07-27Fixed #25159 -- Removed brackets from class/function/method signatures in docs.Tim Graham
Thanks hellbeast for the initial patch.
2015-07-16Fixed #25120 -- Deprecated egg template loader.Tim Graham