- 25 Kas, 2014 1 kayıt (commit)
-
-
wrwrwr yazdı
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
-
- 24 Kas, 2014 16 kayıt (commit)
-
-
wrwrwr yazdı
-
wrwrwr yazdı
-
Tim Graham yazdı
-
Sergey Fedoseev yazdı
-
Tim Graham yazdı
The Jython bug was fixed in http://bugs.jython.org/issue1518 (tested on Jython 2.7b3); also updated make_msgid() to be more like the version in Python 3.2+; refs #23905. Thanks Simon Charette for testing and review.
-
Berker Peksag yazdı
-
Thomas Chaumeny yazdı
- commit/rollback are no longer replaced by nop - the warning about not using TestCase when testing transactional behavior belongs to TestCase section, not TransactionTestCase
-
Tom V yazdı
-
Luke Plant yazdı
This rename is very tricky for the case of subclasses which define get_query_set and haven't been updated yet, which applies to all projects in the form of RelatedManager from Django 1.5.
-
Danilo Bargen yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
Thanks Luke Plant for the report.
-
Matt Robenolt yazdı
-
Luke Plant yazdı
This way they won't need to fix things again when get_query_set disappears
-
- 23 Kas, 2014 15 kayıt (commit)
-
-
Kevin Ndung'u yazdı
The Preventing header injection example included classes that are not imported. Thanks to Collin Anderson and Berker Peksağ for the reviews.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Since RequestContext doesn't know its Engine until it's passed to Template.render() -- and cannot without breaking a widely used public API -- an elaborate hack is required to apply context processors.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
It's only available during the rendering.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Passed the engine instance to loaders. This is a prerequisite for looking up configuration on the engine instance instead of global settings. This is backwards incompatible for custom template loaders that override __init__. However the documentation doesn't talk about __init__ and the way to pass arguments to custom template loaders isn't specified. I'm considering it a private API.
-
Aymeric Augustin yazdı
It was introduced in a recent refactoring so this isn't an issue. Then renamed _get_template_loaders to get_template_loaders.
-
Aymeric Augustin yazdı
Moved Django templates loading infrastructure there.
-
Aymeric Augustin yazdı
Cancels 2f0566fa. Refs #4278.
-
Carl Meyer yazdı
This reverts commit f36151ed. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion.
-
- 22 Kas, 2014 7 kayıt (commit)
-
-
Carl Meyer yazdı
-
Carl Meyer yazdı
I don't agree with flake8 here about the right indentation, but as long as we're using it, we should stick to it. I don't want to disable its hanging indent checks just because of this case.
-
Berker Peksag yazdı
../tests/shortcuts/views.py:45:1: E302 expected 2 blank lines, found 1
-
Aymeric Augustin yazdı
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.
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
Thanks Antti Häyrynen and Tim Graham for the report, and Aymeric Augustin for the review.
-
Claude Paroz yazdı
-
- 21 Kas, 2014 1 kayıt (commit)
-
-
Collin Anderson yazdı
-