| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2023-07-14 | Refs #30686 -- Moved Parser.SELF_CLOSING_TAGS to django.utils.html.VOID_ELEMENTS | David Smith | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-10-29 | Fixed #33236 -- Fixed assertHTMLEqual() error messages for escaped HTML. | Pratyush Mittal | |
| 2021-03-19 | Fixed #32556 -- Fixed handling empty string as non-boolean attributes value ↵ | Baptiste Mispelon | |
| by assertHTMLEqual(). | |||
| 2021-03-19 | Refs #32556 -- Added django.test.html.normalize_attributes(). | Baptiste Mispelon | |
| 2021-03-18 | Fixed #32556 -- Fixed assertHTMLEqual() to handle empty string as boolean ↵ | Hasan Ramezani | |
| attributes value. | |||
| 2021-03-18 | Fixed #32547 -- Corrected notes about validation in HTML assertions docs. | Hasan Ramezani | |
| 2020-10-28 | Made small readability improvements. | Martin Thoma | |
| 2020-09-24 | Fixed #27906 -- Fixed test tools counting of HTML matches for subsets of ↵ | Jacob Walls | |
| elements. Previously examples such as '<a/><b/>' would not match in '<a/><b/><c/>'. | |||
| 2019-10-29 | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | |
| 2019-05-10 | Fixed #30470 -- Added assertHTMLEqual() support for all self closing tags. | Jon Dufresne | |
| Support for the following tags was added: area, embed, param, track, and wbr. The full list of self closing tags is documented at: https://html.spec.whatwg.org/#void-elements | |||
| 2019-05-09 | Fixed #30468 -- Fixed assertHTMLEqual() to handle all ASCII whitespace in a ↵ | Jon Dufresne | |
| class attribute. | |||
| 2019-05-09 | Refs #30399 -- Made assertHTMLEqual normalize character and entity references. | Jon Dufresne | |
| 2019-02-09 | Removed uneeded generator expressions and list comprehensions. | Sergey Fedoseev | |
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-01-21 | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | |
| 2018-01-03 | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | |
| 2018-01-03 | Fixed #28985 -- Removed unneeded None checks before hasattr(). | Дилян Палаузов | |
| 2017-12-07 | Refs #23919 -- Replaced super() calls for old-style classes. | Nick Pope | |
| 2017-09-25 | Fixed #27857 -- Dropped support for Python 3.4. | Tim Graham | |
| 2017-03-04 | Refs #27656 -- Updated remaining docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed obsolete __ne__() methods. | Aymeric Augustin | |
| __ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-09-17 | Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. | Tim Graham | |
| http://bugs.python.org/issue27364 | |||
| 2016-08-31 | Fixed #24112 -- Fixed assertInHTML()'s counting if needle has no root element. | Adam Zapletal | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2013-10-26 | Fixed all the E203 violations | Alex Gaynor | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-03-28 | Fixed spelling errors | Gavin Wahl | |
| 2013-02-25 | Fixed #19634 -- Added proper __hash__ methods. | Aymeric Augustin | |
| Classes overriding __eq__ need a __hash__ such that equal objects have the same hash. Thanks akaariai for the report and regebro for the patch. | |||
| 2012-12-24 | Fixed HTML comparisons of class="foo bar" and class="bar foo" in tests | Luke Plant | |
| Refs #17758 | |||
| 2012-08-12 | [py3] Refactored __unicode__ to __str__. | Aymeric Augustin | |
| * Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2 | |||
| 2012-08-08 | [py3] Made Element instances hashable | Claude Paroz | |
| 2012-08-07 | [py3] Ported django.utils.encoding. | Aymeric Augustin | |
| * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str. | |||
| 2012-07-22 | [py3] Switched to Python 3-compatible imports. | Aymeric Augustin | |
| xrange/range will be dealt with in a separate commit due to the huge number of changes. | |||
| 2012-07-22 | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | |
| 2012-07-22 | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | |
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-03-01 | Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser ↵ | Carl Meyer | |
| to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17607 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-01-31 | Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and ↵ | Carl Meyer | |
| converted Django tests to use them where appropriate. Thanks Greg Müllegger. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17414 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
