Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 3 | -45/+50 |
| | |||||
* | Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵ | Simon Charette | 2019-01-10 | 1 | -1/+1 |
| | | | | favor of databases. | ||||
* | Updated test URL patterns to use path() and re_path(). | Tim Graham | 2018-12-31 | 1 | -3/+3 |
| | |||||
* | Added multi_db=True to test cases that access the 'other' db connection. | Tim Graham | 2017-02-10 | 1 | -0/+1 |
| | | | | Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683. | ||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed #26145 -- Made debug context processor return queries for all databases. | Mounir Messelmeni | 2016-04-09 | 3 | -1/+10 |
| | |||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+0 |
| | |||||
* | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | 2014-12-28 | 1 | -2/+18 |
| | |||||
* | Deprecated some arguments of django.shortcuts.render(_to_response). | Aymeric Augustin | 2014-12-28 | 2 | -14/+14 |
| | | | | | | dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms. | ||||
* | Moved context_processors from django.core to django.template. | Aymeric Augustin | 2014-12-28 | 2 | -3/+3 |
| | |||||
* | Avoided rewrapping Contexts in render_to_response. | Aymeric Augustin | 2014-11-22 | 1 | -2/+3 |
| | | | | | | | | | | | | | This change preserves backwards-compatibility for a very common misuse of render_to_response which even occurred in the official documentation. It fixes that misuse wherever it happened in the code base and docs. Context.__init__ is documented as accepting a dict and nothing else. Since Context is dict-like, Context(Context({})) could work to some extent. However, things get complicated with RequestContext and that gets in the way of refactoring the template engine. This is the real rationale for this change. | ||||
* | Converted sql_queries into a lazily evaluated list. | Bas Peschier | 2014-08-30 | 5 | -1/+63 |
| | | | | Fixed #23364. Thanks Markush2010 for the report. | ||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 1 | -3/+2 |
| | |||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 1 | -4/+4 |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | ||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -1/+0 |
| | | | | | | | 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. | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 1 | -1/+0 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -2/+0 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Renamed some tests and removed references to modeltests/regressiontests. | Florian Apolloner | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 6 | -0/+69 |