| Age | Commit message (Collapse) | Author |
|
Thanks Benjamin Bach for the report and initial patch.
This is a security fix; disclosure to follow shortly.
Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
|
|
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
|
|
flake8 catches
Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
|
|
Binary mode added in ed532a6a1e is not supported by ZipFile.
Refs #22399.
Backport of 275811a93 from master.
|
|
This might help on systems where default encoding is not UTF-8 (and
on Python 3).
Thanks bacilla for the report.
Backport of ed532a6a1 from master.
|
|
The warning hint of `_check_test_runner` of 1.6 compatibility had a link
to a general release note. The link should be edited to refer the
relevant "Backwards incompatible changes in 1.6" section that documents
the cause and the possible solutions and workarounds of the warning.
Backport of 214d1e1b0f from master
|
|
Thanks Elvard for the patch.
Backport of 395d75ea6b from master
|
|
framework.
Thanks Elvard for the patch.
Backport of b513fa5fc6 from master
|
|
refs #14305.
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b from master
|
|
Thanks Baptiste Mispelon for the review.
Backport of acee46fc9 from master.
|
|
Backport of 4d0c5f61427a8e67552ee2d777fffbadc7aff3b2 from master.
|
|
Some platforms with os.name == 'posix' do not have the
fcntl module, e.g. AppEngine.
refs #19373.
|
|
|
|
|
|
Thanks Anssi Kääriäinen for the idea and Simon Charette for the
review.
|
|
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
|
|
Fixed URL resolving in the case where an outer regex includes an inner
regex and both regexes use positional parameters instead of named
groups, causing the outer regex's parameters to override the inner
regex's.
Modified the regex url resolver so that it will concatenates and then
normalizes, instead of normalizing and then concatenating.
|
|
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.
Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
|
|
Thanks Piotr Kasprzyk for help with the patch.
|
|
compatibility checks.
|
|
|
|
Thanks to Thomas Güttler for the suggestion.
|
|
|
|
|
|
The new error message now hints that the most likely issue
is a circular import.
Thanks to trac user elena for the report and to
bpeschier for the original patch.
|
|
Due to a mixup between text and bytes, iteration over
a File instance was broken under Python 3.
Thanks to trac user pdewacht for the report and patch.
|
|
MemoryUploadedFile.
This provides better backwards compatibility for those constructing these
objects manually.
Refs #13721.
|
|
Instead of crashing with a CommandError, now a non-writable location
of mo files will only make compilemessages complain and continue.
Thanks Ramiro Morales for the review.
|
|
116d39842dab2569013856e9f3701a7cb6554f09.
This option is not actually very useful in the general case
because it doesn't override sys.stdin.
It's still marginally useful for testing some features of
the createsuperuser command so it was moved there.
This commit also makes the detection of a TTY in createsuperuser
a bit more robust, after a suggestion of appolo13.
|
|
This makes testing certain features easier.
Thanks to AeroNotix for the original patch.
|
|
With this pull request, request #878 should considered closed.
Thanks to nvie for the patch.
|
|
|
|
Commit 79558c78 cleaned up the (undocumented) interface of Resolver404
exception, which breaks compatibility with code messing with .args[0]
directly. Revert the cleanup part and simply leave the fix itself.
|
|
|
|
Thanks brycenesbitt for the report.
|
|
When django.core.urlresolvers.resolve was called from a view, failed
and the exception was propagated and rendered by technical_404_response,
the URL mentioned on the page was the current URL instead of the URL
passed to resolve().
Fixed by using the path attribute from the Resolver404 exception instead
of request.path_info. Also cleaned up the exceptions to use standard
named parameters instead of stuffing a dict in args[0]
|
|
|
|
Thanks apollo13: "reverse() shouldn't know about absolute/relative paths."
|
|
This fixes redirecting to relative URLs with django.shortcuts.redirect.
|
|
|
|
This reverts commit 0ac13eccebb3d879f79b31585b1e81f655067179.
|
|
|
|
When invoked as follows:
$ python manage.py dumpdata blogapp blogapp.Tag
Django would throw a TypeError. This commit fixes the problem and provides
a test.
|
|
|
|
Replaced _parse_content_type with cgi.parse_header
|
|
|
|
|
|
Fixed #21856: Allow Empty DATABASES Setting
|
|
|
|
There wasn't any file locking under Windows unless PyWin32 was
installed. This removes that (undocumented) dependency by using ctypes
instead.
Thanks to Anatoly Techtonik for writing the ctypes port upon which this
is based.
|