summaryrefslogtreecommitdiff
path: root/tests/template_tests
AgeCommit message (Collapse)Author
2014-07-26[1.7.x] Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetagqingfeng
Backport of 08451f17d0 from master.
2014-05-15[1.7.x] Harmonized some PEP 0263 coding preamblesClaude Paroz
Backport of e520a73ee from master.
2014-04-26[1.7.x] Fix many many typos in comments throughout the codebaseAlex Gaynor
Backport of 2bcb8bfc8d from master
2014-04-21[1.7.x] Corrected many style guide violations that the newest version of ↵Alex Gaynor
flake8 catches Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
2014-03-21[1.7.x] Fixed flake8 warnings.Tim Graham
Backport of 35f46ec7a9 from master
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.
2013-12-22Stopped iterating on INSTALLED_APPS.Aymeric Augustin
Used the app cache's get_app_configs() method instead.
2013-12-20Fixed #21639 -- Implemented RenderContext.__getitem__Alex Hill
It's now consistent with RenderContext.get.
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-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-30Refs #21230 -- removed direct settings manipulation from template testsUnai Zalakain
2013-11-23Fixed #21012 -- New API to access cache backends.Curtis Maloney
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.
2013-11-22Fixed #21460 -- Reenabled proper template precedence in find_templatePablo Martín
Refs #20806. Thanks Unai Zalakain for the review.
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed flake8 E241Boryslav Larin
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fixed all the E203 violationsAlex Gaynor
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-22Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales
2013-10-21Removed some direct settings manipulations in tests; refs #21230.Bouke Haarsma
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol