1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/utils_tests
Unai Zalakain af64429b99 Fixed #7261 -- support for __html__ for library interoperability
The idea is that if an object implements __html__ which returns a string this is
used as HTML representation (eg: on escaping). If the object is a str or unicode
subclass and returns itself the object is a safe string type.

This is an updated patch based on jbalogh and ivank patches.
2013-10-15 00:42:42 +02:00
..
archives
eggs
files Whitespace cleanup. 2013-10-10 16:49:20 -04:00
test_module Whitespace cleanup. 2013-10-10 16:49:20 -04:00
__init__.py
models.py
test_archive.py
test_baseconv.py
test_checksums.py
test_crypto.py
test_datastructures.py Fixed #15625 -- Made message in MultiValueDictKeyError less verbose. 2013-09-18 06:44:38 -04:00
test_dateformat.py Fixed test that fails when pytz is installed. 2013-09-10 18:07:29 +02:00
test_dateparse.py Refactored code and tests that relied on django.utils.tzinfo. 2013-09-09 22:32:52 +02:00
test_datetime_safe.py
test_decorators.py
test_encoding.py Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. 2013-10-13 18:14:04 +02:00
test_feedgenerator.py Refactored code and tests that relied on django.utils.tzinfo. 2013-09-09 22:32:52 +02:00
test_functional.py
test_html.py Fixed #7261 -- support for __html__ for library interoperability 2013-10-15 00:42:42 +02:00
test_http.py
test_ipv6.py
test_itercompat.py
test_jslex.py
test_module_loading.py Fixed #21060 -- Refactored admin's autodiscover method to make it reusable. 2013-09-13 20:09:41 -04:00
test_no_submodule.py
test_numberformat.py
test_os_utils.py
test_regex_helper.py
test_safestring.py Fixed #7261 -- support for __html__ for library interoperability 2013-10-15 00:42:42 +02:00
test_simplelazyobject.py Fixed #21118 -- Isolated a test that uses the database. 2013-09-18 09:42:47 -04:00
test_termcolors.py
test_text.py Fixed #20568 -- truncatewords_html no longer splits words containing HTML entities. 2013-10-08 08:24:58 -04:00
test_timesince.py Fixed #21161 -- Timezone-related tests on Windows. 2013-10-05 18:50:20 +02:00
test_timezone.py Fixed #17262 -- Refactored tzinfo implementations. 2013-09-09 22:32:51 +02:00
test_tzinfo.py Fixed #17262 -- Refactored tzinfo implementations. 2013-09-09 22:32:51 +02:00