summaryrefslogtreecommitdiff
path: root/django/views/i18n.py
AgeCommit message (Expand)Author
2025-10-03Fixed #36636, Refs #15902 -- Removed session-based storage reference from set...Dani Fornons
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-23Refs #36500 -- Shortened some long docstrings and comments.Mike Edmunds
2023-02-17Fixed #34343 -- Moved built-in templates to filesystem.Nick Pope
2022-07-25Fixed #33863 -- Fixed JavaScriptCatalog with more than 1 level of fallback tr...Claude Paroz
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-01-29Fixed #32345 -- Fixed preserving encoded query strings in set_language() view.Sandro Covo
2021-01-14Refs #15902 -- Stopped set_language() storing user's language in the session.Mariusz Felisiak
2020-08-05Refs #31493 -- Replaced var with const and let in JavaScriptCatalog template.Claude Paroz
2020-07-01Simplified JavaScript with Array.prototype.includes().Jon Dufresne
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
2020-05-05Fixed #31534 -- Deprecated django.conf.urls.url().David Smith
2020-01-27Refs #30997 -- Removed HttpRequest.is_ajax() usage.Claude Paroz
2020-01-09Renamed set_language()'s next variable to avoid clash with builtin.Mike Yusko
2019-09-02Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().Carlton Gibson
2019-04-08Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags on...Ran Benita
2019-02-14Refs #15902 -- Deprecated storing user's language in the session.Claude Paroz
2019-01-28Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the ...Claude Paroz
2018-06-22Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.Tim Graham
2018-06-21Removed views.i18n.null_javascript_catalog().Tim Graham
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2018-01-03Refs #15902 -- Made set_language() view always set the current language in a ...Claude Paroz
2017-08-23Removed unneeded iter() calls.Sergey Fedoseev
2017-06-06Fixed #18394 -- Added error for invalid JavaScriptCatalog packagesClaude Paroz
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-25Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog viewClaude Paroz
2017-05-20Refs #28221 -- Honor plural number in JavaScriptCatalogClaude Paroz
2017-05-08Refs #27795 -- Stopped converting integer format settings to str in JS/JSON i...Claude Paroz
2017-03-03Refs #27656 -- Updated django.views docstring verbs according to PEP 257.Anton Samarchyan
2017-02-27Imported django.http classes instead of django.http.Asif Saifuddin Auvi
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python equi...Claude Paroz
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-17Refs #19567 -- Removed deprecated javascript_catalog() and json_catalog() views.Tim Graham
2016-12-14Fixed #27418 -- Fixed occasional missing plural forms in JavaScriptCatalog.Waldemar Kornewald
2016-10-22Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.Alvin Lindstam
2016-09-07Refs #26956 -- Allowed is_safe_url() to validate against multiple hostsJon Dufresne
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
2016-08-19Refs #26902 -- Protected against insecure redirects in set_language().Przemysław Suliga
2016-04-28Fixed #26553 -- Removed unneeded loop in views/i18n.pyTim Graham
2016-04-15Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based viewsClaude Paroz
2016-04-09Fixed #26466 -- Added HTTP_REFERER decoding to i18n set_language() view.Miikka Salminen
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-03-29Fixed #21446 -- Allowed not performing redirect in set_language viewKrzysztof Jurewicz
2016-03-08Reused the DjangoTranslation class for the javascript_catalog viewClaude Paroz
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
2015-08-05Fixed #22404 -- Added a view that exposes i18n catalog as a JSONSergey Kolosov
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak