Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Converted recently refactored templates tests to ↵ | Ramiro Morales | 2014-12-04 | 39 | -90/+90 | |
| | | | | | | | | SimpleTestCase. These test methods don't need DB setup/teardown. Refs #23768 and b872134b. | |||||
* | Removed redundant numbered parameters from str.format(). | Berker Peksag | 2014-12-03 | 1 | -2/+2 | |
| | | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}". | |||||
* | Fixed "no such test method" error in template_tests. | Berker Peksag | 2014-12-03 | 1 | -0/+1 | |
| | | | | | | | Without this patch, you couldn't run an individual test case in template_tests. Refs #23768 | |||||
* | Fixed #23768 -- Rewrote template tests as unit tests. | Preston Timmons | 2014-12-03 | 40 | -1369/+4854 | |
| | ||||||
* | Fixed #23914 -- Improved {% now %} to allow storing its ↵ | Baptiste Mispelon | 2014-11-25 | 1 | -0/+2 | |
| | | | | | | result in the context. Thanks to Tim for the review. | |||||
* | Fixed #23890 -- Silenced numpy DeprecationWarnings in ↵ | Tim Graham | 2014-11-25 | 1 | -0/+7 | |
| | | | | template tests. | |||||
* | Encapsulated TEMPLATE_STRING_IF_INVALID in Engine. | Aymeric Augustin | 2014-11-23 | 1 | -10/+5 | |
| | ||||||
* | Moved template loaders management in Engine. | Aymeric Augustin | 2014-11-23 | 2 | -12/+10 | |
| | | | | | | | | | | | Passed the engine instance to loaders. This is a prerequisite for looking up configuration on the engine instance instead of global settings. This is backwards incompatible for custom template loaders that override __init__. However the documentation doesn't talk about __init__ and the way to pass arguments to custom template loaders isn't specified. I'm considering it a private API. | |||||
* | Deprecated dirs argument to override TEMPLATE_DIRS. | Aymeric Augustin | 2014-11-23 | 1 | -1/+2 | |
| | | | | Cancels 2f0566fa. Refs #4278. | |||||
* | Simplified caching of templatetags modules. | Aymeric Augustin | 2014-11-19 | 1 | -5/+0 | |
| | ||||||
* | Refactored getting the list of template loaders. | Aymeric Augustin | 2014-11-16 | 2 | -17/+27 | |
| | | | | | This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader. | |||||
* | Removed override_template_loaders and ↵ | Aymeric Augustin | 2014-11-16 | 1 | -17/+21 | |
| | | | | | | | override_with_test_loader. They can be replaced with override_settings and that makes the corresponding tests much more obvious. | |||||
* | Moved all template loaders under django.template.loaders. | Aymeric Augustin | 2014-11-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API. | |||||
* | Fixed #23789 -- TemplateResponse handles context ↵ | Luke Plant | 2014-11-10 | 1 | -0/+6 | |
| | | | | differently from render | |||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -5/+5 | |
| | | | | Django test suite. | |||||
* | Avoided using private API get_template_from_string. | Aymeric Augustin | 2014-10-31 | 1 | -11/+6 | |
| | ||||||
* | Fixed urlize after smart_urlquote rewrite | Claude Paroz | 2014-09-09 | 1 | -4/+20 | |
| | | | | Refs #22267. | |||||
* | Fixed #23269 -- Deprecated django.utils.remove_tags() ↵ | Tim Graham | 2014-08-15 | 1 | -1/+2 | |
| | | | | | | and removetags filter. Also the unused, undocumented django.utils.html.strip_entities() function. | |||||
* | Updated tests for added newlines in ↵ | Tim Graham | 2014-08-13 | 1 | -3/+3 | |
| | | | | 68686430638215b5405b20bd767c0be392c9221d. | |||||
* | Added newlines to the ends of CSS, HTML, and JavaScript ↵ | Trey Hunner | 2014-08-13 | 2 | -2/+2 | |
| | | | | files missing them. | |||||
* | Fixed #23276 -- Deprecated passing views as strings to ↵ | Tim Graham | 2014-08-12 | 1 | -1/+1 | |
| | | | | url(). | |||||
* | Fixed #23261 -- Deprecated old style list support for ↵ | Jaap Roes | 2014-08-11 | 1 | -0/+2 | |
| | | | | unordered_list filter. | |||||
* | Fixed #16383 -- Raised the AttributeError raised in ↵ | Anubhav Joshi | 2014-07-31 | 1 | -2/+9 | |
| | | | | | | property of an object when used in a template. Thanks maraujop for the report and Hiroki and Tim Graham for review. | |||||
* | Fixed #23060 -- Prevented UnicodeDecodeError in debug ↵ | qingfeng | 2014-07-26 | 1 | -0/+10 | |
| | | | | templatetag | |||||
* | Fixed #21707 -- Added helpful error message when using ↵ | Anubhav Joshi | 2014-07-24 | 1 | -0/+3 | |
| | | | | | | {{ block.super }} in base template. Thanks mitar for the suggestion. | |||||
* | Fixed #22789 -- Deprecated django.contrib.webdesign. | Tim Graham | 2014-07-14 | 1 | -0/+2 | |
| | | | | Moved the {% lorem %} tag to built-in tags. | |||||
* | Fixed #22223 -- Prevented over-escaping URLs in reverse() | Claude Paroz | 2014-07-09 | 1 | -3/+3 | |
| | | | | | | | 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. | |||||
* | Fixed #18400 -- Modified length template filter to ↵ | Susan Tan | 2014-06-05 | 1 | -2/+2 | |
| | | | | | | | return 0 for unknown variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback. | |||||
* | Fixed #22384 -- Deprecated reversing URLs by dotted path. | Tim Graham | 2014-06-03 | 1 | -2/+2 | |
| | ||||||
* | Fixed #21598 -- cleaned up template loader overrides in ↵ | Unai Zalakain | 2014-05-23 | 1 | -156/+125 | |
| | | | | | | | | | tests - 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. | |||||
* | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 3 | -3/+3 | |
| | ||||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 2 | -3/+3 | |
| | ||||||
* | Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵ | chriscauley | 2014-04-17 | 1 | -4/+4 | |
| | | | | | | docs and tests. Thanks tomwys for the suggestion. | |||||
* | Fixed #13408 -- Deprecated silent unpacking exception ↵ | e0ne | 2014-04-08 | 1 | -6/+12 | |
| | | | | | | passing in for template tag. Thanks peterbe for the suggestion. | |||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 2 | -5/+5 | |
| | ||||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 2 | -12/+11 | |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | |||||
* | Corrected many style guide violations that the newest ↵ | Alex Gaynor | 2014-03-30 | 1 | -1/+2 | |
| | | | | version of flake8 catches | |||||
* | Fixed #22306 -- Deprecated future versions of cycle and ↵ | Maxime Turcotte | 2014-03-28 | 1 | -2/+4 | |
| | | | | firstof template tags. | |||||
* | Fixed #22294 -- Prevented converting length filter ↵ | Claude Paroz | 2014-03-22 | 1 | -2/+3 | |
| | | | | | | output to string Thanks Steve Pike for the report. | |||||
* | The cycle and firstof tags no longer raise warnings. | Aymeric Augustin | 2014-03-21 | 1 | -3/+1 | |
| | | | | Refs #17906. | |||||
* | Switched {% cycle %} and {% firstof %} tags to ↵ | Tim Graham | 2014-03-21 | 1 | -4/+4 | |
| | | | | | | auto-escape their variables per deprecation timeline. refs #17906. | |||||
* | Removed fix_ampersands template filter per deprecation ↵ | Tim Graham | 2014-03-21 | 2 | -9/+1 | |
| | | | | | | | | timeline. Also removed related utility functions: * django.utils.html.fix_ampersands * django.utils.html.clean_html | |||||
* | Fixed flake8 warnings. | Tim Graham | 2014-03-21 | 1 | -1/+1 | |
| | ||||||
* | Fixed #22184 -- Allowed template_tests.tests to be run ↵ | Anubhav Joshi | 2014-03-15 | 1 | -0/+2 | |
| | | | | isolated | |||||
* | Removed obsolete hack to run template tests. | Aymeric Augustin | 2014-03-09 | 1 | -7/+1 | |
| | ||||||
* | Fixed #21188 -- Introduced subclasses for ↵ | Claude Paroz | 2014-03-08 | 1 | -2/+3 | |
| | | | | | | | to-be-removed-in-django-XX warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 2 | -2/+2 | |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | |||||
* | Fixed #22130 -- Deprecated fix_ampersands, removed ↵ | Erik Romijn | 2014-03-01 | 1 | -1/+4 | |
| | | | | utils.clean_html() | |||||
* | Removed Django 1.5 upgrade hints for {% url %} tag. | Tim Graham | 2014-02-28 | 1 | -14/+0 | |
| | | | | Refs #19280 and Refs #19392. | |||||
* | Fixed #21741 -- Fixed render_to_string to stop pushing ↵ | Baptiste Mispelon | 2014-02-22 | 3 | -0/+19 | |
| | | | | | | | empty dictionaries to its Context Thanks to kezabelle for the report and original patch and to numerodix for his improved patch. |