Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecated some arguments of ↵ | Aymeric Augustin | 2014-12-28 | 1 | -12/+4 |
| | | | | | | | | django.shortcuts.render(_to_response). 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 ↵ | Aymeric Augustin | 2014-12-28 | 1 | -1/+1 |
| | | | | django.template. | ||||
* | 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 | 1 | -1/+12 |
| | | | | Fixed #23364. Thanks Markush2010 for the report. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 1 | -0/+8 |