Commit Graph

24820 Commits

Author SHA1 Message Date
Berker Peksag d81c86d32c Fixed typo in docs/releases/1.10.txt. 2017-09-04 08:40:07 -04:00
Nick Pope dea4cfb95b Refs #27804 -- Used subTest() in a modeladmin test. 2017-09-03 21:20:43 -04:00
Nick Pope 9397d3add4 Fixed #28558 -- Simplified code to remove OGRIndexError.
The test is a regression for refs #4740 to show that the original fix of
OGRIndexError is no longer needed.

This is similar to the removal of GEOSIndexError in
197b187810.
2017-09-03 21:19:37 -04:00
Mads Jensen feb1a0a692 Refs #27804 -- Used subTest() in a syndication test. 2017-09-03 20:40:50 -04:00
caleb logan 68f0e8d8b1 Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache file is empty. 2017-09-03 20:11:49 -04:00
ZachLiuGIS 2dacc2ccd9 Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect of positional arguments.
Regression in 78963495d0.

Forwardport of f8e0557b01 from stable/1.11.x
2017-09-03 12:06:44 -04:00
Mariusz Felisiak fe0184b412 Updated EmpytResultSet import not to use the alias. 2017-09-03 11:06:06 -04:00
Nick Pope 35800acf79 Refs #25225 -- Removed test for removed ListMixin._IndexError.
Unused since 197b187810.
2017-09-03 10:44:52 -04:00
Tim Graham 2fc5a5bfe3 Removed stray versionadded/changed annotations for 1.10. 2017-09-02 21:47:01 -04:00
Mariusz Felisiak 2470756de0 Moved select_sql in SQLCompiler.get_extra_select() to improve performance. 2017-09-02 16:39:51 -04:00
jkrzy 48d92fea67 Fixed #28367 -- Doc'd how to override management commands. 2017-09-02 16:21:13 -04:00
LBerrocal 54f7aa04a7 Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum.
Thanks Idan Melamed for the original patch.
2017-09-02 15:50:43 -04:00
Jeremy Satterfield 473ab4610e Fixed #28332 -- Fixed diamond inheritence example in docs. 2017-09-02 14:10:41 -04:00
Simon Meers 60443e84b3 Fixed #17985 -- Documented ModelAdmin.lookup_allowed(). 2017-09-02 13:54:33 -04:00
Nick Pope 11f4c52ec7 Fixed #28525 -- Documented GDAL and GeoIP exceptions. 2017-09-02 09:10:18 -04:00
Berker Peksag 90fcf0fce7 Fixed typos in docs/releases/1.10.txt. 2017-09-02 09:09:07 -04:00
Nick Pope adc07e8f90 Simplified index bounds checking in GDAL objects. 2017-09-02 09:04:01 -04:00
Nick Pope f9c2fd30be Fixed #28559 -- Removed contrib.gis.gdal.OGRException backwards compatibility alias. 2017-09-02 08:52:01 -04:00
François Freitag 18dd9ba481 Fixed test in auth_tests modifying data from setUpTestData(). 2017-09-01 21:43:41 -04:00
Tim Graham 6e4a34580d Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name in docs. 2017-09-01 20:03:32 -04:00
Tim Graham 04050bff30 Refs #26522 -- Forwardported 1.11.5 release note. 2017-09-01 16:41:39 -04:00
Nick Pope cbb27d603b Reordered GeoIP docs be consistent with GDAL/GEOS ordering. 2017-09-01 09:48:25 -04:00
Nick Pope 49017dc13a Made GeoIP docs headers consistent with other GIS docs. 2017-09-01 09:44:41 -04:00
Tim Graham 9075805570 Refs #23276 -- Fixed explanation of how calling views works.
"Importing the view" is no longer applicable after
a9fd740d22.
2017-08-31 11:57:46 -04:00
Jeremy Kerr 84b7cb7df0 Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields.
Previously, deferring fields in different classes didn't omit the
superclass' deferred field.

Thanks Simon Charette for the suggested fix.
2017-08-31 09:35:05 -04:00
Tim Graham e5bd585c6e Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.
Previously, it was a QuerySet which could reevaluate to a new value if the
model's data changes. This is inconsistent with other Field.value_from_object()
methods.

This allows reverting the fix in the admin for refs #27998.
2017-08-31 09:34:44 -04:00
Nick Pope ec6481246a Fixed #28524 -- Fixed program name in management commands when using 'python -m django'. 2017-08-31 09:22:25 -04:00
Sergey Fedoseev f0d9ede9e6 Removed useless itertools.chain() call in ChoiceWidget.optgroups(). 2017-08-31 08:04:36 -04:00
Tim Graham 11cd46930e Refs #28487 -- Forwardported 1.11.5 release note. 2017-08-31 08:00:47 -04:00
Sergey Fedoseev ab3e3658cc Simplified model's Options._get_fields() a bit. 2017-08-31 07:11:30 -04:00
jkrzy 20a761697f Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files. 2017-08-30 16:40:19 -04:00
Jkrzy da3a5cee4f Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs. 2017-08-30 06:25:51 -04:00
caleb logan 9e2bf65d6a Fixed #28530 -- Prevented SelectDateWidget from localizing years in output. 2017-08-29 14:56:08 -04:00
Sergey Fedoseev 44ce308281 Simplified contrib.gis.geos.prototypes by replacing c_char with c_byte. 2017-08-29 14:50:24 -04:00
Claude Paroz afc06b5625 Fixed #28536 -- Removed old JS cross-browser utilities 2017-08-28 20:31:09 +02:00
Collin Anderson 751f7a6d9b Added Media.__repr__().
It makes it easier to debug MediaOrderConflictWarnings
(refs #28377).
2017-08-26 20:57:45 -04:00
Claude Paroz 8275662a24 Removed lone usage of jQuery in admin's calendar.js 2017-08-26 18:00:44 +02:00
Claude Paroz 4b67e8dc75 Complemented datetime picker selenium test
This includes test coverage for the calendarMonth JS function in calendar.js
2017-08-26 18:00:44 +02:00
Mads Jensen e016c4c65b Refs #27869 -- Omitted field kwargs from GinIndex.deconstruct() if they're None. 2017-08-26 10:32:03 -04:00
Mads Jensen fb42d02471 Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's None. 2017-08-26 09:45:45 -04:00
Claude Paroz 3c0b2b80ed Fixed #28532 -- Fixed typo in PostgreSQL field docs
Thanks Andreas Poisel for the report.
2017-08-26 10:20:01 +02:00
Sergey Fedoseev 61da949ff6 Simplified migrations.state.ProjectState.__eq__(). 2017-08-25 13:50:01 +05:00
Sergey Fedoseev 1a85b07bdd Fixed #28518 -- Improved performance of loading geometries from DB. 2017-08-24 14:08:35 -04:00
Sergey Fedoseev 481ba33cd2 Used sets for CheckRegistry.registered_checks and deployment_checks. 2017-08-24 10:37:50 -04:00
hui shang c0f4c60edd Fixed #28513 -- Added POST request support to LogoutView. 2017-08-24 09:11:16 -04:00
Fabian Schindler da0fb5b1ec Fixed #28380 -- Excluded null geometries in SpatiaLite geometry lookups. 2017-08-24 08:30:11 -04:00
Sergey Fedoseev a8bb493556 Simplified migrations.graph.Node.iterative_dfs(), ancestors(), and descendants(). 2017-08-23 18:10:00 -04:00
Claude Paroz 09b3e46635 Fixed #27796 -- Prevented middleware being loaded twice with runserver
Thanks Tim Graham for the review.
2017-08-23 23:05:18 +02:00
Sergey Fedoseev f2b93b509c Removed unneeded iter() calls.
A few of these were unnecessarily added in 2b281cc35e.
2017-08-23 16:48:29 -04:00
Sergey Fedoseev dca67bb2c2 Refs #28459 -- Improved performance of SQLCompiler.apply_converters(). 2017-08-23 16:26:24 -04:00