summaryrefslogtreecommitdiff
path: root/tests/template_tests
AgeCommit message (Collapse)Author
2014-09-09Fixed urlize after smart_urlquote rewriteClaude Paroz
Refs #22267.
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-12Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d.Tim Graham
2014-08-12Added newlines to the ends of CSS, HTML, and JavaScript files missing them.Trey Hunner
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-08-11Fixed #23261 -- Deprecated old style list support for unordered_list filter.Jaap Roes
2014-07-31Fixed #16383 -- Raised the AttributeError raised in property of an object ↵Anubhav Joshi
when used in a template. Thanks maraujop for the report and Hiroki and Tim Graham for review.
2014-07-26Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetagqingfeng
2014-07-24Fixed #21707 -- Added helpful error message when using {{ block.super }} in ↵Anubhav Joshi
base template. Thanks mitar for the suggestion.
2014-07-14Fixed #22789 -- Deprecated django.contrib.webdesign.Tim Graham
Moved the {% lorem %} tag to built-in tags.
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
2014-06-05Fixed #18400 -- Modified length template filter to return 0 for unknown ↵Susan Tan
variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback.
2014-06-03Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham
2014-05-22Fixed #21598 -- cleaned up template loader overrides in testsUnai Zalakain
- Template loader overriding is managed with contexts. - The test loader is a class (function based loaders entered deprecation timeline in 1.4). - Template loader overrider that overrides with test loader added.
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-08Fixed #13408 -- Deprecated silent unpacking exception passing in for ↵e0ne
template tag. Thanks peterbe for the suggestion.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-30Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor
2014-03-28Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.Maxime Turcotte
2014-03-22Fixed #22294 -- Prevented converting length filter output to stringClaude Paroz
Thanks Steve Pike for the report.
2014-03-21The cycle and firstof tags no longer raise warnings.Aymeric Augustin
Refs #17906.
2014-03-21Switched {% cycle %} and {% firstof %} tags to auto-escape their variables ↵Tim Graham
per deprecation timeline. refs #17906.
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-21Fixed flake8 warnings.Tim Graham
2014-03-15Fixed #22184 -- Allowed template_tests.tests to be run isolatedAnubhav Joshi
2014-03-09Removed obsolete hack to run template tests.Aymeric Augustin
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-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-03-01Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()Erik Romijn
2014-02-28Removed Django 1.5 upgrade hints for {% url %} tag.Tim Graham
Refs #19280 and Refs #19392.
2014-02-22Fixed #21741 -- Fixed render_to_string to stop pushing empty dictionaries to ↵Baptiste Mispelon
its Context Thanks to kezabelle for the report and original patch and to numerodix for his improved patch.
2014-02-17Use assertEqual instead of assertEquals.Baptiste Mispelon
2014-02-16Made the new template.Context.flatten() method a public API.Marek Wywiał
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651. Refs #21765.
2014-02-16Fixed #21939 -- Deprecated loading ssi/url tags from future.Zbigniew Siciarz
2014-02-15Fixed bad comparison logic introduced in ↵Baptiste Mispelon
d97bf2e9c8971764690caaf81a0914bc368d6b02. Refs #21765. Thanks to kezabelle for the quick report and to onjin for providing the patch.
2014-02-15Fixed #21765 -- Added support for comparing Context instancesMarek Wywiał
2014-02-08Fixed #21959 -- Handled Inf/NaN in widthratio tag.Aymeric Augustin
Thanks rmoe for the report and the patch.
2014-02-08Fixed #21417 -- Expanded TEMPLATE_STRING_IF_INVALID in blocktransClaude Paroz
Thanks keturn for the reporti, Chris Medrela for details and Tim Graham for the review. Refs #19915.
2014-02-04Fixed #21929 - Fixed test regression on Windows.Carl Meyer
Thanks Michael Manfre for the report.
2014-01-27Fixed #21874 -- Require Django applications to have a filesystem path.Carl Meyer
Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion.
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.
2014-01-25Moved sys.path-extending decorator to django.test.utils and used throughout ↵Carl Meyer
test suite. Thanks Aymeric for the suggestion.
2014-01-19Refs #21628 -- removed one usage of the imp module in the tests. It is ↵Alex Gaynor
deprecated in Python 3.4
2014-01-14Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn
This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-23Dropped AppCache._empty, _with_app and _without_app.Aymeric Augustin
It's now easier to achieve the same effect with modify_settings or override_settings.
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.