summaryrefslogtreecommitdiff
path: root/tests/test_utils/views.py
AgeCommit message (Collapse)Author
2019-02-09Removed default empty content argument from HttpResponse calls.Jon Dufresne
2014-10-31Avoided using private API get_template_from_string.Aymeric Augustin
2014-05-05Fixed #22572 -- override_settings(ROOT_URLCONF) didn't clear ↵Loic Bistuer
urlresolvers._urlconfs. Thanks Anubhav Joshi and Tim Graham for the reviews.
2013-11-08Flake8 fix -- correct number of newlines between top level definitionsAlex Gaynor
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-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner