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
Sergey Fedoseev
4302167939
Used frozenset instead of dict for GeoIP2.cache_options for simplicity.
2017-08-23 11:47:47 -04:00
Sergey Fedoseev
fac74b84a3
Used OrderedDict.fromkeys() to initialize OrderedDict with None values.
2017-08-23 11:40:17 -04:00
Mariusz Felisiak
939d923e8e
Refs #28498 -- Forwardported 1.11.5 release note.
2017-08-23 10:08:42 +02:00
Mariusz Felisiak
330e965cd8
Fixed typo in docs/releases/1.11.5.txt.
2017-08-23 08:55:25 +02:00
Kim DoHyeon
f21915bb3a
Fixed #27931 -- Clarified the meaning of "django catch-all logger."
2017-08-22 16:24:18 -04:00
Sergey Fedoseev
9ad6071aab
Simplified usage of sets in MigrationAutodetector.
2017-08-22 16:23:02 -04:00
Kevin Grinberg
c6a3546093
Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.
...
Regression in 69b7d4b116
.
2017-08-22 15:51:08 -04:00
Sergey Fedoseev
4dfd6b88d5
Refs #28459 -- Improved performance of FlatValuesListIterable.
2017-08-22 11:26:07 -04:00
Harry Moreno
254fb8d1a4
Added "test --keepdb" to testing speedup docs.
2017-08-22 10:26:00 -04:00
Nick Pope
796fde5b79
Fixed incorrect indentation in remove_stale_contenttypes.
...
It's unnecessary for content_type_display to be constructed from
ct_info in every loop iteration.
2017-08-22 09:10:42 -04:00
Claude Paroz
ed77bea582
Refs #28502 -- Complemented stringformat tuple handling/test.
...
An additional test and a code change were suggested in a late review.
2017-08-22 08:45:08 -04:00
Simon Meers
7bba82453c
Fixed #28496 -- Added ModelAdmin.get_changelist_instance().
2017-08-22 08:17:26 -04:00
Paulo
fea9cb46aa
Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with OneToOneField primary key to a non-pk field.
2017-08-21 16:14:13 -04:00
Adrien Brunet
b5ad5c628a
Fixed typo in documented number of logging filters.
2017-08-21 16:06:38 -04:00
Sergey Fedoseev
30eb92fc11
Removed need for hasattr(check, 'tags') in CheckRegistry.
...
It was needed to pass tests because registered checks weren't properly mocked.
2017-08-21 15:34:20 -04:00
Berker Peksag
8d095c6378
Removed redundant backticks in docs/releases/1.8.txt
2017-08-21 09:16:22 +02:00
Mariusz Felisiak
c47747d45a
Removed postgresql_psycopg2.version
...
Uneeded since 29ea9714ee
.
2017-08-21 09:13:07 +02:00
Srinivas Reddy Thatiparthy
4ead705cb3
Fixed #28502 -- Made stringformat template filter accept tuples
2017-08-21 09:04:43 +02:00
Allen, Timothy
9229e005aa
Django -> django when styled as a logo with font. This was pointed out at DjangoCon US.
2017-08-21 08:00:54 +02:00
Srinivas Reddy Thatiparthy
a64f88f5be
Refs #28502 -- Completed stringformat filter tests
2017-08-19 21:22:59 +02:00
Mariusz Felisiak
6784383e93
Fixed #28498 -- Fixed test database creation with cx_Oracle 6.
2017-08-16 18:39:58 +02:00
Sergey Fedoseev
a493424352
Removed unused reference in docs/ref/utils.txt.
...
Unused since f6acd1d271
.
2017-08-16 18:42:37 +05:00
Claude Paroz
546412e673
Fixed #28495 -- Converted GDAL Feature.fields to strings
2017-08-15 19:31:22 +02:00
Sergey Fedoseev
41640760df
Simplified generation of result in Query.get_aggregation().
2017-08-15 09:59:31 -04:00