Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/template_tests/tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham2014-06-031-2/+2
|
* Fixed #21598 -- cleaned up template loader overrides in ↵Unai Zalakain2014-05-231-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.
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-1/+1
|
* Fixed #13408 -- Deprecated silent unpacking exception ↵e0ne2014-04-081-6/+12
| | | | | | passing in for template tag. Thanks peterbe for the suggestion.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-1/+1
|
* Fixed #22306 -- Deprecated future versions of cycle and ↵Maxime Turcotte2014-03-281-2/+4
| | | | firstof template tags.
* The cycle and firstof tags no longer raise warnings.Aymeric Augustin2014-03-211-3/+1
| | | | Refs #17906.
* Switched {% cycle %} and {% firstof %} tags to ↵Tim Graham2014-03-211-4/+4
| | | | | | auto-escape their variables per deprecation timeline. refs #17906.
* Removed fix_ampersands template filter per deprecation ↵Tim Graham2014-03-211-4/+1
| | | | | | | | timeline. Also removed related utility functions: * django.utils.html.fix_ampersands * django.utils.html.clean_html
* Fixed flake8 warnings.Tim Graham2014-03-211-1/+1
|
* Fixed #22184 -- Allowed template_tests.tests to be run ↵Anubhav Joshi2014-03-151-0/+2
| | | | isolated
* Removed obsolete hack to run template tests.Aymeric Augustin2014-03-091-7/+1
|
* Fixed #21188 -- Introduced subclasses for ↵Claude Paroz2014-03-081-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 Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed #22130 -- Deprecated fix_ampersands, removed ↵Erik Romijn2014-03-011-1/+4
| | | | utils.clean_html()
* Removed Django 1.5 upgrade hints for {% url %} tag.Tim Graham2014-02-281-14/+0
| | | | Refs #19280 and Refs #19392.
* Use assertEqual instead of assertEquals.Baptiste Mispelon2014-02-171-1/+1
|
* Fixed #21939 -- Deprecated loading ssi/url tags from future.Zbigniew Siciarz2014-02-161-1/+3
|
* Fixed #21765 -- Added support for comparing Context ↵Marek Wywiał2014-02-151-0/+13
| | | | instances
* Fixed #21959 -- Handled Inf/NaN in widthratio tag.Aymeric Augustin2014-02-081-0/+2
| | | | Thanks rmoe for the report and the patch.
* Fixed #21417 -- Expanded TEMPLATE_STRING_IF_INVALID in ↵Claude Paroz2014-02-081-0/+2
| | | | | | | | blocktrans Thanks keturn for the reporti, Chris Medrela for details and Tim Graham for the review. Refs #19915.
* Removed superfluous uses of TransRealMixin.Aymeric Augustin2014-01-271-48/+40
| | | | | The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
* Moved sys.path-extending decorator to django.test.utils ↵Carl Meyer2014-01-261-16/+15
| | | | | | and used throughout test suite. Thanks Aymeric for the suggestion.
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-23/+25
| | | | | | | | | | | | | 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.
* Dropped AppCache._empty, _with_app and _without_app.Aymeric Augustin2013-12-231-4/+3
| | | | | It's now easier to achieve the same effect with modify_settings or override_settings.
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Stopped iterating on INSTALLED_APPS.Aymeric Augustin2013-12-221-5/+8
| | | | Used the app cache's get_app_configs() method instead.
* Refs #21230 -- removed direct settings manipulation from ↵Unai Zalakain2013-11-301-41/+32
| | | | template tests
* Fixed #21012 -- New API to access cache backends.Curtis Maloney2013-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks Curtis Malony and Florian Apolloner. Squashed commit of the following: commit 3380495e93f5e81b80a251b03ddb0a80b17685f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:18:07 2013 +0100 Looked up the template_fragments cache at runtime. commit 905a74f52b24a198f802520ff06290a94dedc687 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:19:48 2013 +0100 Removed all uses of create_cache. Refactored the cache tests significantly. Made it safe to override the CACHES setting. commit 35e289fe9285feffed3c60657af9279a6a2cfccc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:23:57 2013 +0100 Removed create_cache function. commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:04:52 2013 +0100 Updated docs to describe a simplified cache backend API. commit ee7eb0f73e6d4699edcf5d357dce715224525cf6 Author: Curtis Maloney <curtis@tinbrain.net> Date: Sat Oct 19 09:49:24 2013 +1100 Fixed #21012 -- Thread-local caches, like databases.
* Fixed all E261 warningscoagulant2013-11-031-1/+1
|
* Fixing E302 ErrorsJason Myers2013-11-031-9/+22
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-021-3/+3
|
* Fixed all the E203 violationsAlex Gaynor2013-10-271-6/+6
|
* Fix all violators of E231Alex Gaynor2013-10-261-70/+70
|
* Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney2013-10-241-1/+36
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales2013-10-231-3/+1
|
* Removed some direct settings manipulations in tests; ↵Bouke Haarsma2013-10-211-23/+13
| | | | refs #21230.
* Removed unused local variables in tests.Tim Graham2013-10-191-4/+3
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-2/+1
|
* Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill2013-10-151-13/+13
|
* Prevented arbitrary file inclusion with {% ssi %} tag ↵Tim Graham2013-09-111-0/+31
| | | | | | | | and relative paths. Thanks Rainer Koirikivi for the report and draft patch. This is a security fix; disclosure to follow shortly.
* Fix #20745: Don't silence TypeError raised inside templates.Baptiste Mispelon2013-09-081-0/+6
| | | | Thanks to robin for the report and claudep for the review.
* Fixed #16096 -- Added origin attribute to template ↵Preston Timmons2013-09-061-0/+13
| | | | | | instances. Thanks jdunck for the suggestion.
* Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin2013-09-051-4/+1
|
* Fixed #20989 -- Removed useless explicit list ↵Simon Charette2013-08-301-1/+1
| | | | comprehensions.
* Improved {% include %} implementationCurtis Maloney2013-08-301-0/+34
| | | | | | | | | | | | Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147
* Fixed #7116 -- Optimize RequestContext constructionCurtis Maloney2013-08-291-0/+9
|
* Fixed #17356 -- Allowed {% include %} to render compiled ↵Curtis Maloney2013-08-291-0/+11
| | | | | | templates Reviewed by Loic Bistuer and Tim Graham.