| Age | Commit message (Collapse) | Author |
|
This is a security fix; disclosure to follow shortly.
|
|
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
|
|
Backport of d63327d843 from master.
|
|
|
|
|
|
Backport of ec04fd1344 from master
|
|
This was a regression due to unicode_literals usage. Thanks Ivan
Virabyan for the report and the initial patch.
Backport of 164528acc8 from master.
|
|
Python 2.6 has some different behaviour when checking
isinstance(foo, collections.Iterator).
Backport of 829dc3c5 from master.
|
|
Backport of e11ccc76d325b6bbbf101f510a91299f507f0745.
|
|
This includes fixes for the java/jython detection and a new license header.
Thanks to Thomas Bartelmess for the report.
Backport of c5ce0e8a687ecf7fbc38fa85c5311a6320a246c6 from master.
|
|
|
|
Classes overriding __eq__ need a __hash__ such that equal objects have
the same hash.
Thanks akaariai for the report and regebro for the patch.
Backport of e76147a from master.
|
|
The new regex seems not stable enough for being released. Stripping
with regex might need reevaluation for the next release.
Refs #19237.
|
|
Thanks rafales.
Backport of 9a4a1ce.
|
|
Thanks foo@ for the report and Florian Apolloner for the review.
Backport of eafc036476 from master
|
|
Thanks to garrison for the report and patch.
Backport of 4a71b842662162e0892a9269179421ff2191adba from master
|
|
Backport of 507c081484 from master
|
|
malicious users.
|
|
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
|
|
Backport of 349c4c37f8 from master.
|
|
The previous pattern didn't properly addressed cases where '>'
was present inside quoted tag content.
Backport of bf1871d87 from master.
|
|
Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True
Thanks to dstufft for the idea, and claudep for initial patch
|
|
Thanks tyrion for the report.
Backport of 550ddc66b from master.
|
|
Refs #19276
|
|
for Python 2 object model compatibility methods.
Backport of fc10418 from master.
|
|
Thanks to claudep for the patch.
|
|
Backport of 836cd26d7f3394452f1f5196eb26c99fef128a1a from master
|
|
Returning unicode triggers a bug in Python 2.7:
http://bugs.python.org/issue11638
This problem was introduced in 4a103086 (unicode_literals).
Backport of 45c8818 from master.
|
|
This case was originally designed to handle Exception's which didn't gracefully support coercing themselves to unicode. However, because it lives in the `else` case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable in djanog anymore, because since Python 2.5 exception has subclassed object, which means Exception objects always have an __unicode__ method.
|
|
Fixed #19142 -- Language codes can include numbers (RFC 3066)
|
|
Allow reversed iteration over SortedDict.
|
|
|
|
Thanks mrmachine and everyone else involved on this long-standing ticket.
|
|
Iterators cannot be reversed easily without this method.
|
|
The context strings in [n]pgettext functions should not be marked
themselves for translation.
|
|
This reverts commit 28abf5f0ebc9d380f25dd278d7ef4642c4504545.
Conflicts:
docs/releases/1.5.txt
|
|
Work done by Walter Doekes and Trac alias knoeb. Reviewed by Simon
Charette.
|
|
Filters at logger level are only processed for messages directly
logged to the specific logger, not for loggers in the parent chain.
As the 'django' logger is almost always processed as an inherited
logger, it makes more sense to filter messages at the 'console'
handler level.
|
|
Thanks Preston Holmes for the review.
|
|
Refs #18993.
|
|
accept literals wrapped in single quotes. Thanks to lanyjie for the report.
|
|
Refs #18675.
|
|
Thanks olofom at gmail com for the report.
|
|
|
|
Thanks to jbvsmo for the patch and Brad Pitcher for the tests.
|
|
The problem description in #18239 asserted that
http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on
http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the
fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our
patched HTMLParser subclass in all Python 2.6 versions.
|
|
which means you can have your root template or file upload path at this location. You almost certainly don't want to do this, except in *very* limited sandboxed situations.
|
|
|
|
Thanks Aymeric Augustin for the report and the initial patch.
|
|
smart_str/smart_text should only be used when a potential lazy
string should be preserved in the result of the function call.
|