| Age | Commit message (Collapse) | Author |
|
Backport of d9a30ed190d68a5450cba8b3cd26ef6bcd8a70ff from master
|
|
Backport of 56cd87a5aff034a7b976977a2902697cd5397b94 from master
|
|
Backport of 7614efa2f9e169749ab109aab909fbc244fd76a9 from master
|
|
Backport of 7f8588d22ea3b53ba55d05922b67e7b3a0a7c91c from master
|
|
their input by default.
This may cause some backwards compatibility issues, but may also
resolve security issues in third party projects that fail to heed warnings
in our documentation.
Thanks Markus Holtermann for help with tests and docs.
Backport of fa350e2f303572ee8f9a8302dda45a12288d3d95 from master
|
|
Backport of 63f2dd4ad774d39fc7bbe05492d30efc45e4e7a9 from master
|
|
ModelBackend.
Backport of 6b28e957df364532109a1897c73a1fa8b1416bd4 from master
|
|
Backport of fde4857fb83101d27ae4cb3552a6a6cf20d3d8ce from master
|
|
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
Backport of 00fbd8fd527fd6ee0319361bf194cd51a1ac1bfb from master
|
|
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
|
|
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
Conflicts:
django/db/utils.py
Backport of bed504d70bede3431a213203c13a33905d6dbf77 from master
|
|
Backport of 1f9e44030e9c5300b97ef7b029f482c53a66f13b from master
|
|
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9 from master
|
|
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
Backport of 1bfcc95 from master
|
|
Backport of 15b711b from master.
|
|
Backport of 570912a97d5051fa3aeacd9d16c3be9afcf92198 from master
|
|
|
|
Backport of 18192b9fa4387d5e6c677a7929d91ce04f92cda7 from master
|
|
This is a security fix. Disclosure following shortly.
Thanks to Jedediah Smith for the report.
|
|
|
|
Accounted for multiple template engines and made a few small fixes.
|
|
|
|
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).
Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.
Added query.context, this can be used to set per-query state.
Also changed the signature of database converters. They now accept
context as an argument.
|
|
Thanks Tim Graham and Markus Holtermann for the reviews.
|
|
Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch!
|
|
creation; refs #22340."
This reverts commit a2e3c9694823d6d451d6dd234e9d416600aacc68.
The deprecation was moved back to 1.9 in
61da5f3f02f34810aaa6fcddac3808318a5b95c4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
|
|
|
|
Introduced the various shortcuts before explaining the more complex
parser/render functionality.
Also removed non-decorator syntax: it's been years since Django
supported a Python version without decorators.
|
|
|
|
|
|
|
|
consistent.
The following methods **should** be implemented, but are not required:
* Storage.delete()
* Storage.exists()
* Storage.listdir()
* Storage.size()
* Storage.url()
Updated documentation to reflect this fact and give a couple of examples
where some methods may not be implemented. Add a warning that not
implementing some methods will result in a partial (possibly broken)
interface.
Ticket: https://code.djangoproject.com/ticket/23376
|
|
|
|
|
|
wsgi.py.
Thanks inglesp for the report.
|
|
Thanks Keryn Knight for the report.
|
|
|
|
|
|
|
|
Thanks aks for the report.
|
|
|
|
Thanks Carl Meyer for django-secure and for reviewing.
Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and
Jorge Carleitao for reviews.
|