| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-18 | Applied Black's 2026 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/26.1.0 | |||
| 2024-03-02 | Refs #26431 -- Added more test for translated path(). | Adam Johnson | |
| 2023-12-31 | Used addCleanup() in tests where appropriate. | Mariusz Felisiak | |
| 2023-05-02 | Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n ↵ | Mariusz Felisiak | |
| patterns are used. Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81. This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81 (refs #34069) and partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5. Thanks Anthony Baillard for the report. Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | |||
| 2023-01-04 | Refs #34074 -- Used headers argument for RequestFactory and Client in docs ↵ | David Wobrock | |
| and tests. | |||
| 2022-10-04 | Fixed CVE-2022-41323 -- Prevented locales being interpreted as regular ↵ | Adam Johnson | |
| expressions. Thanks to Benjamin Balder Bach for the report. | |||
| 2022-03-29 | Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs. | Alokik Vijay | |
| Thanks Florian Apolloner for the review and implementation idea. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-09-01 | Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. | Alex Hayward | |
| get_language_from_request() uses Accept-Language and/or Cookie to determine the correct redirect. Upstream caches need the matching Vary header to cache the result. | |||
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-02-18 | Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵ | Claude Paroz | |
| classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-06-24 | Fixed #26431 -- Prevented django.urls.resolve() from returning missing ↵ | daniel a rios | |
| optional parameters. Previous behavior was inconsistent with django.urls.reverse() and caused that translate_url() created an incorrect URL when an optional parameter was missing. | |||
| 2019-06-24 | Refs #26431 -- Added tests for resolving URL and translate_url() with ↵ | daniel a rios | |
| provided optional parameter. | |||
| 2018-02-21 | Changed "language-code" to the more commonly used "language code". | Sebastian Sangervasi | |
| 2017-09-20 | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | |
| Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. | |||
| 2017-09-14 | Fixed a Dutch translation in i18n tests. | Tim Graham | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-02-03 | Fixed spelling of "nonexistent". | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-05-17 | Fixed #26601 -- Improved middleware per DEP 0005. | Florian Apolloner | |
| Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP. | |||
| 2016-03-07 | Fixed #26271 -- Fixed i18n_patterns resolution when no language is active | Claude Paroz | |
| Thanks Marten Kenbeek for the report. | |||
| 2016-03-03 | Fixed #26295 -- Allowed using i18n_patterns() in any root URLconf. | Simon Charette | |
| Thanks Tim for the review. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-10-22 | Fixed "URLconf" spelling in code comments. | Tim Graham | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-03-26 | Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set. | Bas Peschier | |
| This introduces a force_append_slash argument for request.get_full_path() which is used by RedirectFallbackMiddleware and CommonMiddleware when handling redirects for settings.APPEND_SLASH. | |||
| 2015-03-18 | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-03-18 | Fixed #24476 -- Added context manager/decorator for overriding script prefix. | Bas Peschier | |
| Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager. | |||
| 2015-03-13 | Fixed #24122 -- Redirected to translated url after setting language | Claude Paroz | |
| Thanks gbdlin for the initial patch and Tim Graham for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2014-12-28 | Deprecated TEMPLATE_DIRS. | Aymeric Augustin | |
| 2014-08-14 | Fixed #21579 -- Made LocaleMiddleware respect script prefix. | Tim Graham | |
| Thanks buettgenbach at datacollect.com for the report and patch. | |||
| 2014-04-06 | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | |
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
| 2013-10-26 | Fix all violators of E231 | Alex Gaynor | |
| 2013-10-03 | Fixed #19277 -- Added LocaleMiddleware.response_redirect_class | Emil Stenström | |
| Thanks ppetrid at yawd.eu for the suggestion. | |||
| 2013-06-04 | Added i18n-related URL mapper test for a mailing list report. | Ramiro Morales | |
| 2013-02-26 | Renamed some tests and removed references to modeltests/regressiontests. | Florian Apolloner | |
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
