1
0
mirror of https://github.com/django/django.git synced 2025-03-21 14:50:45 +00:00

8874 Commits

Author SHA1 Message Date
Mariusz Felisiak
82175ead72 Fixed -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.
2017-06-13 08:16:16 +02:00
Paulo
9dc83c356d Fixed -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.
2017-06-12 21:12:54 -04:00
Tim Graham
3d0a0ecd2c Refs -- Removed support for broken Model.__str__() in Model.__repr__().
Returning invalid bytestrings in __str__() is unlikely in Python 3.
2017-06-11 15:52:19 -04:00
Tom
3eb3907bb1 Refs -- Replaced stray super(ClassName, self) with super(). 2017-06-10 20:46:43 -04:00
Collin Anderson
1a49b89470 Fixed -- Added instance's pk to Model.__str__(). 2017-06-09 13:42:53 -04:00
Collin Anderson
7c9cb1ed37 Refs -- Removed hardcoded uses of Model.__str__() in tests. 2017-06-09 13:28:50 -04:00
Mads Jensen
c7f6ffbdcf Fixed -- Added quarter extract, truncation, and lookup.
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-06-08 15:15:29 -04:00
Thomas Khyn
f6bd00131e Fixed -- Allowed module_has_submodule()'s module_name arg to be a dotted path. 2017-06-08 14:34:20 -04:00
Daniel Wiesmann
fe5e34a295 Fixed -- Allowed passing papsz options to GDALRaster initialization. 2017-06-08 12:44:26 -04:00
Jon Dufresne
0c3c37a376 Fixed -- Fixed class-based indexes name for models that only inherit Model. 2017-06-08 09:36:12 -04:00
Arne de Laat
681d2599ee Fixed -- Ignored case in FileExtensionValidator's allowed_extensions. 2017-06-07 16:53:36 -04:00
Arne de Laat
b137add6cf Added FileExtensionValidator tests for uppercase and missing file extensions. 2017-06-07 16:53:10 -04:00
Claude Paroz
2862760894 Fixed -- Confirmed support for GDAL 2.2
Additionally, a test has been updated to account for small SRS WKT differences.
Thanks Tim Graham for writing the doc part.
2017-06-07 21:26:04 +02:00
Daniel Wiesmann
e0b456bee7 Fixed -- Made raster metadata readable and writable on GDALRaster/Band. 2017-06-07 11:30:35 -04:00
kakulukia
525dc283a6 Fixed -- Fixed invalid HTML for a required AdminFileWidget. 2017-06-06 15:41:23 -04:00
Josh Schneier
37c9b81ebc Fixed -- Prevented condition decorator from setting ETag/Last-Modified headers for non-safe requests. 2017-06-06 15:37:14 -04:00
Claude Paroz
23142eea85 Fixed -- Added error for invalid JavaScriptCatalog packages
Thanks Tim Graham for the review.
2017-06-06 18:02:22 +02:00
Paulo
4ad2f86284 Fixed -- Fixed FieldListFilter.get_queryset() crash on invalid input. 2017-06-06 07:54:31 -04:00
Claude Paroz
d02fc8dfd3 Refs -- Enabled serializer tests with date/datetime pk model 2017-06-05 21:36:25 +02:00
partizan
ff099f9db8 Fixed -- Added charset to technical_500_response() AJAX response. 2017-06-05 14:43:40 -04:00
Claude Paroz
6352d06cd0 Fixed -- Kept original file suffix in TemporaryUploadedFile name
Thanks Tim Graham for the review.
2017-06-05 18:55:44 +02:00
Paulo
b7f99f84bc Fixed -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter. 2017-06-05 10:29:54 -04:00
Jon Dufresne
a0f8c52ae2 Fixed ResourceWarnings in tests/servers/tests.py.
e.g. ResourceWarning: unclosed <socket.socket [closed] fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
2017-06-05 09:56:51 -04:00
Adam Johnson
ed244199c7 Fixed -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor.
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.
2017-06-05 08:40:43 -04:00
Adam Johnson
36f09c8a29 Added a test for Model._meta._property_names. 2017-06-05 08:28:33 -04:00
Jon Dufresne
0a66aa158a Refs , -- Removed obsolete cookie test mixing bytes with str.
Python 3's SimpleCookie treats all values as strings. Passing a bytes
object coerces to the repr value.
2017-06-03 21:07:11 -04:00
Claude Paroz
43b574007e Fixed -- Required passing optional form field args as keyword args. 2017-06-03 10:49:01 -04:00
Claude Paroz
54caca2d34 Refs -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
2017-06-03 16:17:03 +02:00
Anton Samarchyan
0c1355e9bb Completed test coverage for RedirectFallbackMiddleware. 2017-06-02 20:10:27 -04:00
Anton Samarchyan
2b53c8377d Improved test coverage of contrib/admin/checks.py. 2017-06-02 18:47:07 -04:00
Tim Graham
0841a31baf Fixed admin_views IntegrityError test failure.
Regression in 38a5a23c327ab1c816dc56864002ecc66cac4a48.
2017-06-02 14:59:01 -04:00
Tim Graham
38a5a23c32 Fixed admin_views test when run in reverse.
Modifying self.s1 created in setUpTestData() leaked state.

Regression in 45585d3cbbd320a316171b17474b60e3f5fb1fb8.
2017-06-02 13:35:03 -04:00
Tim Graham
45585d3cbb Removed pk hardcoding in admin_views tests. 2017-06-02 10:01:41 -04:00
Jon Dufresne
29a518006f Fixed -- Prevented renderer warning on Widget.render() with **kwargs. 2017-06-02 09:46:43 -04:00
Jon Dufresne
2c69824e5a Refs -- Removed unnecessary lists, generators, and tuple calls. 2017-06-01 19:08:59 -04:00
François Freitag
edee5a8de6 Fixed -- Added chunk_size parameter to QuerySet.iterator(). 2017-06-01 17:50:41 -04:00
Mariusz Felisiak
924a89e135 Fixed -- Added support for Oracle identity columns.
Thanks Shai Berger and Tim Graham for reviews.
2017-06-01 19:33:48 +02:00
Tim Graham
cde31daf88 Sorted imports per isort 4.2.9. 2017-06-01 13:23:48 -04:00
Manatsawin Hanmongkolchai
a0c07d77fc Fixed -- Moved ImageField file extension validation to the form field. 2017-06-01 10:13:23 -04:00
Ingo Klöcker
6bb3b2bff4 Refs -- Improved docs/added test for File context manager change. 2017-05-31 21:02:58 -04:00
Matthias Erll
eee34ef64c Fixed -- Prohibited QuerySet.last()/reverse() after slicing. 2017-05-31 19:34:56 -04:00
Tim Graham
84fb50df67 Fixed a forms test after updated translations. 2017-05-31 19:29:34 -04:00
Derrick Jackson
789c290150 Fixed -- Fixed file_move_safe() crash when moving files to a CIFS mount. 2017-05-31 14:52:40 -04:00
Chris Lamb
2ec56bb782 Fixed -- Fixed test_middleware_classes_headers if Django source isn't writable. 2017-05-31 10:25:09 -04:00
Robert Rollins
b6d4b6e544 Fixed -- Allowed customizing the port that LiveServerTestCase uses.
Forwardport of 877d7b71ae952b3bc946e5187d6c23039a71614d from stable/1.11.x
2017-05-30 18:49:10 -04:00
Tim Graham
4a251f8bce Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS.
Regression in 890537253cf235091816d27a5c2fb64943c8e34a.
2017-05-30 15:14:32 -04:00
Adit Biswas
c2eea61dff Fixed -- Made date-based generic views return a 404 rather than crash when given an out of range date. 2017-05-30 13:20:35 -04:00
Adam Johnson
b3e55109bd Improved test coverage for startapp/startproject management commands. 2017-05-30 09:40:32 -04:00
Adam Johnson
9509268cea Refs -- Improved value validation in GDALRaster.geotransform setter. 2017-05-30 09:02:50 -04:00
Mariusz Felisiak
037d6540ec Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.

Thanks Michał Wierzbowski for help preparing the patch.
2017-05-30 08:22:40 -04:00