summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-11-17Removed blank line to appease isort.Tim Graham
2015-11-17Fixed #25682 -- Removed bare except clauses.Attila Tovt
2015-11-17Fixed #25695 -- Added template_name parameter to csrf_failure() view.Raphael Michel
2015-11-17Simplified lists creation in three places.Dmitry Dygalo
2015-11-15Updated contrib.admin translation catalogClaude Paroz
Forward port of 5234c9937 from stable/1.9.x
2015-11-14Fixed #25750 -- Made Options._expire_cache() fasterPatryk Zawadzki
Avoided unnecessary list operations and delattr() calls that result in an exception being raised as it causes call frame reconstruction which is very costly, especially so in a function that is called millions of times.
2015-11-14Refs #25501 -- Fixed a typo in django/core/cache/backends/filebased.pyJaap Roes
The original intent in refs #20536 was to use the highest protocol. Calling zlib.compress() with a compression level of -1 seems to fall back to the default level of 6.
2015-11-14Fixed #25666 -- Fixed the exact lookup of ArrayField.Dmitry Dygalo
2015-11-14Made BaseCommand.get_version() docstring consistent with docs.Baptiste Mispelon
2015-11-14Fixed #25647 -- Reverted "Simplified deduplication of test databases."Tim Graham
This reverts commit 49eee84245b1297a84ad4ddc2251e287ef585ea2 as it caused a regression with test mirrors.
2015-11-13Refs #25196 -- Fixed incorrect argument order in test database creation.Tim Graham
2015-11-12Fixed #25606 -- Added support for "__" lookup in RelatedOnlyFieldListAndrey Kuzmin
2015-11-12Fixed #25283 -- Fixed collectstatic crash if a URL contains a fragment with ↵msaelices
a path. A @font-face declaration may contain a fragment that looks like a relative path, e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); } In this case, an incorrect path was passed to the storage backend, which raised an error that caused collectstatic to crash.
2015-11-12Fixed #25469 -- Added autoescape option to DjangoTemplates backend.Aaron Elliot Ross
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12Fixed #25743 -- Optimized utils.localize() and localize_input()Jaap Roes
Bail early if the input is a string since that's the most common case.
2015-11-12Fixed #25688 -- Made admin.register() disallow an empty list of models.Hasan
2015-11-11Fixed #25723 -- Made related field checks lookup against their local apps.Simon Charette
2015-11-11Removed gendered pronoun in a code comment.Razzi Abuissa
2015-11-11Fixed #25548 -- Prevented FormView.form_invalid() from discarding its form ↵Alex Morozov
argument.
2015-11-11Refs #25693 -- Avoided redundant calls to get_fields() in `to_attr` validation.Simon Charette
2015-11-11Fixed #25730 -- Made Model.__str__() always return str instances.Simon Charette
Thanks to Kevin Turner for the report and Tim for the review.
2015-11-11Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is ↵Marti Raudsepp
bytestring. This is consistent with the behavior of Django 1.7.x and earlier.
2015-11-10Updated six to 1.10.0.Tim Graham
2015-11-10Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.Ian Foote
Thanks to Jamie Matthews for finding and explaining the bug.
2015-11-09Fixed #25170 -- Made assertXMLEqual()/assertXMLNotEqual() ignore leading and ↵Mattia Larentis
trailing whitespace. Thanks Jacek Bzdak for indepdently contributing a similar fix.
2015-11-09Fixed #24576 -- Made deletion of related objects deterministic.Laura Feier
2015-11-09Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header.Dwight Gunning
2015-11-09Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.Marti Raudsepp
This fixes a regression from refs #25496.
2015-11-07Fixed debug view crash during autumn DST change.Aymeric Augustin
This only happens if USE_TZ = False and pytz is installed (perhaps not the most logical combination, but who am I to jugde?) Refs #23714 which essentially fixed the same problem when USE_TZ = True. Thanks Florian and Carl for insisting until I wrote a complete patch.
2015-11-07Simplified dict initialization in two places.Dmitry Dygalo
2015-11-07Fixed #25692 -- Added natural keys support to Site model.j0hnsmith
2015-11-07Amended comment to remove reference to the no longer used NullHandlerNeal Todd
2015-11-07Removed ability to pass a geometry string to GIS functionsClaude Paroz
This was a possible confusion source with column name arguments. Thanks Sergey Fedoseev for the suggestion.
2015-11-07Fixed GIS test failures when GDAL is not installedClaude Paroz
Thanks Iacopo Spalletti for the report and testing.
2015-11-06Fixed #25673 -- Made `GeometryField.from_db_value` set SRIDSergey Fedoseev
2015-11-03Fixed #25668 -- Misc spelling errorsVille Skyttä
2015-11-03Fixed #25629 -- Added checks of the number of arguments for GeoDjango DB ↵Sergey Fedoseev
functions.
2015-11-02Fixed #25661 -- Fixed checking number of points during list assignment for ↵Sergey Fedoseev
`LinearRing`.
2015-11-02Refs #25629 -- Added `arity` class attribute to `Func` expressionsSergey Fedoseev
2015-11-02Fixed #25664 -- Fixed `dims` for `Point`Sergey Fedoseev
2015-11-02Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functionsSergey Fedoseev
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-01Fixed #25655 -- Dropped support for GEOS < 3.3Sergey Fedoseev
2015-10-31Fixed #25635 -- Made URLValidator allow '+' in scheme.Dheerendra Rathor
2015-10-31Fixed #25636 -- Dropped support for SpatiaLite < 3.0Sergey Fedoseev
2015-10-29Fixed #16734 -- Set script prefix even outside of requestsClaude Paroz
Thanks Tim Graham for the review.
2015-10-29Fixed #25622 -- Accounted for generic relations in the admin to field validationSimon Charette
Thanks to Jonathan Liuti for the report and Tim Graham for the review.
2015-10-29Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the ↵Dheerendra Rathor
domain section.
2015-10-29Fixed #20846 -- Increased User.username max_length to 254 characters.Tim Graham
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-10-29Fixed #25630 -- Replaced `AsGeoHash` with `GeoHash` in unsupported GIS functionsSergey Fedoseev
2015-10-28Refs #25588 -- Added the srid property to GDALRasterDaniel Wiesmann
Geometry objects have an srid property, so this addition makes the raster api more similar to the geometries api.