summaryrefslogtreecommitdiff
path: root/tests/defaultfilters
AgeCommit message (Collapse)Author
2014-12-16Fixed #16028 -- Moved defaultfilters tests into template_tests.Preston Timmons
2014-10-31Fixed #23715 -- Prevented urlize from treating a trailing ! as part of an URLMarkus Holtermann
Thanks to 57even for the report.
2014-08-15Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.Tim Graham
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-14Fixed #23260: Added generator support to defaultfilters.unordered_list.Jaap Roes
2014-08-11Fixed #23261 -- Deprecated old style list support for unordered_list filter.Jaap Roes
2014-07-04Updated urlize regex following a93ee5112d4LarryBrid
Prevent urlize from turning some.organization, an.intern etc. into urls. Refs #22941.
2014-07-02Fixed #22941 - Added support for domain-only links with chars after the TLD ↵LarryBrid
to urlize. It now works with something like google.com/foo/bar
2014-06-10Fixed #22798 -- `pluralize()` now adds plural_suffix for any `1 < d < 2`Moayad Mardini
Thanks Odd_Bloke for the report.
2014-06-07Tested pluralization of decimals.Aymeric Augustin
Refs #16723.
2014-05-17Moved wordwrap test to their own functionMarkus Amalthea Magnuson
The `wordwrap` tests were in the `test_wordcount()` method for some reason. This moves them to their own method, and make consistent use of double quotes where needed.
2014-03-22Fixed #22294 -- Prevented converting length filter output to stringClaude Paroz
Thanks Steve Pike for the report.
2014-03-21Removed fix_ampersands template filter per deprecation timeline.Tim Graham
Also removed related utility functions: * django.utils.html.fix_ampersands * django.utils.html.clean_html
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-02Fixed #22130 -- fixed template_tests/defaultfilters order dependent test failureErik Romijn
2014-03-01Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()Erik Romijn
2014-02-13Fixed #19496 -- Added truncatechars_html filter.Jeremy
Thanks esevece for the suggestion and Nick Sandford and Martin Warne for the inital work on the patch.
2014-01-27Removed superfluous uses of TransRealMixin.Aymeric Augustin
The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
2013-12-17Removed superfluous models.py files.Aymeric Augustin
Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
2013-12-14Fixed E127 pep8 warnings.Loic Bistuer
2013-11-06Added more tests and documentation for dictsort.Baptiste Mispelon
It's possible to use something like {{ foo|dictsort:'bar.baz' }} but this wasn't tested or documented.
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-22Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales
2013-10-22Removed import * in tests.Tim Graham
Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21267 -- Fixed E502 pep8 warningsAlasdair Nicol
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-08Fixed #20568 -- truncatewords_html no longer splits words containing HTML ↵Jaap Roes
entities. Thanks yann0 at hotmail.com for the report.
2013-09-26Fix Python 3.2 compatiblity by removing unicode literals.Simon Charette
2013-09-25Fixed #20364 -- Changed urlize regexes to include quotation marks as punctation.Giles Richard Greenway
Thanks to EmilStenstrom for raising this, and to Chris Piwoński for all of the fixes and most of the tests.
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-07-28Simplified smart_urlquote and added some basic tests.Florian Apolloner
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-05-30Fixed #20502 -- Flushed i18n caches for a defaultfilter testClaude Paroz
Thanks Chris Wilson for the report and initial patch.
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-05-19Fixed test failure introduced in 1927bf7c91.Aymeric Augustin
2013-05-19Fix #19070 -- Additional test for urlize and bracketsErik Romijn
2013-05-18Fixed #20246 -- Added non-breaking spaces between values an unitsEmil Stenström
2013-04-01Fixed #20172 -- Ensured urlize supports IPv4/IPv6 addressesClaude Paroz
Thanks Marc Aymerich for the report and the initial patch.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner