summaryrefslogtreecommitdiff
path: root/django/template
AgeCommit message (Collapse)Author
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-01Fixed #22933 -- Deprecated django.template.resolve_variable().Tim Graham
2014-06-10Fixed #22798 -- `pluralize()` now adds plural_suffix for any `1 < d < 2`Moayad Mardini
Thanks Odd_Bloke for the report.
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-04-08Fixed #13408 -- Deprecated silent unpacking exception passing in for ↵e0ne
template tag. Thanks peterbe for the suggestion.
2014-03-30Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor
2014-03-22Fixed #22294 -- Prevented converting length filter output to stringClaude Paroz
Thanks Steve Pike for the report.
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-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-02-28Removed Django 1.5 upgrade hints for {% url %} tag.Tim Graham
Refs #19280 and Refs #19392.
2014-02-23Removed incorrect statement from docstringPatrick Robertson
The docstring of FilterExpression said that it shouldn't be instantiated from anywhere but the get_filters_from_token helper function. However, that helper function was deleted in commit 3ede006fc98f7e96ae9fb997872f78635576d5f8 and FilterExpression is instantiated from inside the compile_filter help function.
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-16Made the new template.Context.flatten() method a public API.Marek Wywiał
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651. Refs #21765.
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-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-02-08Fixed #21959 -- Handled Inf/NaN in widthratio tag.Aymeric Augustin
Thanks rmoe for the report and the patch.
2014-02-08Fixed #21674 -- Deprecated the import_by_path() function in favor of ↵Berker Peksag
import_string(). Thanks Aymeric Augustin for the suggestion and review.
2014-02-08Allowed more easily subclassing of BlockNode tags.Mitar
2014-01-19Moved the loader tags registration with the other builtins.Baptiste Mispelon
2013-12-27Don't try to load app directory templates from apps with a path (eg eggs)Florian Apolloner
2013-12-27Properly app_template_dirs when INSTALLED_APPS change.Florian Apolloner
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22Stopped iterating on INSTALLED_APPS.Aymeric Augustin
Used the app cache's get_app_configs() method instead.
2013-12-19Small flake8 fixes -- number of blank lines between top level definitionsAlex Gaynor
2013-12-20Fixed #21639 -- Implemented RenderContext.__getitem__Alex Hill
It's now consistent with RenderContext.get.
2013-12-14Fixed E127 pep8 warnings.Loic Bistuer
2013-12-10Moved imports to the top of the defaultfilters module.Aymeric Augustin
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-11-22Fixed #21460 -- Reenabled proper template precedence in find_templatePablo Martín
Refs #20806. Thanks Unai Zalakain for the review.
2013-11-09Fixed spelling of compatibility.Tim Graham
2013-11-08Fixed #17529 -- get_template_from_string default arguments breakUnai Zalakain
``get_template_from_string`` default arguments were breaking ``assertTemplateUsed``. The solution has been to return only the names of the templates with a ``name`` attribute distinct of ``None``. The default ``name`` kwarg of ``Template`` has been changed to ``None``, more pythonic than ``'<Unknown Template>'``.
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-02Fixed the remaining E302 violations int eh django packageAlex Gaynor
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-11-02Merge pull request #1848 from rayashmanjr/masterAlex Gaynor
Correct flake8 violation E261
2013-11-02Correct flake8 violation E261Ray Ashman Jr
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-24Start attacking E231 violationsAlex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-22Fixed E221 pep8 warnings.Tim Graham
2013-10-21Fixed E227 pep8 warningsTim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol