Jon Dufresne
f599747fc8
Fixed #28152 -- Made migrations serialize sets as set literals rather than set().
2017-05-18 09:33:40 -04:00
Claude Paroz
912ef7f49d
Fixed validity of test django_js.po files
2017-05-18 14:33:18 +02:00
Tim Graham
650bf6714d
Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3.
2017-05-15 09:26:38 -04:00
Simon Charette
f0d47ab3b6
Corrected cached_property.__get__() docstring.
2017-05-15 09:25:14 -04:00
Adam Alton
f9bae845ea
Added a docstring to cached_property.__get__().
2017-05-15 09:05:42 -04:00
Tim Schneider
3a5299c19c
Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.
2017-05-15 08:33:31 -04:00
Tamas Szabo
3008f30f19
Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth backends don't accept a request.
2017-05-15 07:48:15 -04:00
Danilo Bargen
a7975260b5
Fixed #28195 -- Added OSMWidget.default_zoom attribute.
2017-05-14 14:31:17 -04:00
Claude Paroz
d4d812cb56
Refs #28196 -- Removed mentions of bytestrings for EmailMessage
...
With Python 3, there are no more reasons to special-case EmailMessage
arguments which should be plain strings.
2017-05-14 19:42:32 +02:00
Tim Graham
d3209bf09c
Simplified test for OSMWidget.default_lon/lat.
2017-05-14 13:02:09 -04:00
Mariusz Felisiak
5cff2cb4c0
Refs #27859 -- Refactored BaseDatabaseValidation to use check_field_type().
...
Thanks Tim Graham for the review.
2017-05-14 18:34:45 +02:00
Danilo Bargen
680968b9e4
Documented OSMWidget.default_lat/lon.
2017-05-13 17:24:22 -04:00
Sławek Ehlert
faaf62f616
Improved test coverage for createsuperuser command.
2017-05-12 10:29:56 -04:00
Tim Graham
b0d0dbe280
Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt.
2017-05-12 09:22:59 -04:00
Simon Charette
4acae21846
Fixed #24254 -- Fixed queries using the __in lookup with querysets using distinct() and order_by().
...
Thanks Tim for the review.
2017-05-11 21:50:07 -04:00
Tim Graham
a9874d48b1
Fixed #28188 -- Fixed crash when pickling model fields.
...
Regression in d2a26c1a90
.
Thanks Adam Alton for the report and test, and Adam Johnson for
suggesting the fix.
2017-05-11 21:04:52 -04:00
Simon Charette
daf2bd3efe
Fixed #28107 -- Disabled grouping of selected primary keys for unmanaged models.
...
The grouping caused an issue with database views as PostgreSQL's query planer
isn't smart enough to introspect primary keys through views. Django doesn't
support database views but documents that unmanaged models should be used to
query them.
Thanks powderflask for the detailed report and investigation.
2017-05-11 20:00:57 -04:00
Riccardo Magliocchetti
bdf192c593
Fixed #28148 -- Doc'd ImageField name validation concerns with the test client.
2017-05-11 13:59:18 -04:00
Alexander Allakhverdiyev
a7c6c705e8
Fixed #28129 -- Allowed custom template tags to use keyword-only arguments.
2017-05-11 10:09:44 -04:00
Claude Paroz
f87256b15e
Refs #27795 -- Replaced force_text() with str() in contrib.messages
...
Thanks Tim Graham for the review.
2017-05-10 22:40:18 +02:00
Claude Paroz
d1e5516c06
Complemented message storage test with explicit None extra_tags value
2017-05-10 22:38:46 +02:00
Florian Apolloner
d611a89238
Decreased max_length for char fields unless absolutely needed. ( #8485 )
2017-05-10 17:33:46 +02:00
Florian Apolloner
60f5129076
Fixed db backend discovery in admin_scripts tests.
...
Not all backends have dots in them.
2017-05-10 09:47:20 -04:00
UmanShahzad
856072dd4a
Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs.
2017-05-10 09:02:20 -04:00
João Silva
3db84b5526
Fixed #28081 -- Stopped setting Content-Length=0 in conditional_content_removal() per RFC 7230.
2017-05-09 14:55:03 -04:00
Florian Apolloner
837259a63f
Pass type to sql_alter_column_* where it was missing.
...
This is a followup to 2b3a941457
2017-05-09 12:47:35 +02:00
Markus Holtermann
8e352876c3
Refs #22397 -- Removed model in test cleanup
...
The test was failing when using --keepdb due to a pre-existing
PonyStables model.
Thanks Florian Apolloner for the report
2017-05-09 11:15:41 +02:00
Claude Paroz
a87189fc5e
Fixed #28164 -- Improved float conversions in DecimalField.to_python
...
Thanks Tim Graham and Adam Johnson for the reviews.
2017-05-09 08:40:08 +02:00
Claude Paroz
d842ada305
Refs #27795 -- Stopped converting integer format settings to str in JS/JSON i18n views
...
Thanks Tim Graham for the review.
2017-05-08 19:32:03 +02:00
Claude Paroz
e3a88c7797
Renamed django.views.i18n test cases
2017-05-08 19:29:27 +02:00
Tim Graham
c2975910a5
Fixed #28178 -- Changed contrib.gis to raise ImproperlyConfigured if gdal isn't installed.
2017-05-08 11:07:00 -04:00
Tim Graham
a404f75f92
Fixed #28181 -- Added detection for GDAL 2.1 and 2.0.
...
Follow up to:
ffdf507ec0
(adding GDAL 2.0 support)
ebaa2fef27
(confirming GDAL 2.1 support)
8c7778884b
(removing GDAL 1.8, 1.7 support)
2017-05-08 10:59:16 -04:00
Josh Schneier
5df0ff4155
Fixed #28089 -- Removed requirement to implement get_short_name() and get_full_name() in AbstractBaseUser subclasses.
2017-05-06 17:05:42 -04:00
Tim Graham
e86f4786a7
Fixed #28095 -- Doc'd Widget.build_attrs() signature change in Django 1.11.
2017-05-06 14:45:50 -04:00
Tim Graham
b57dc9268b
Added stub release notes for 1.11.2.
2017-05-06 09:42:25 -04:00
Tim Graham
cedaac3428
Added release date for 1.11.1.
2017-05-06 08:19:41 -04:00
François Freitag
88336fdbb5
Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.
...
When a connection pooler is set up in transaction pooling mode, queries
relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS
setting in DATABASES disables server-side cursors for this use case.
2017-05-06 06:59:04 -04:00
Raphael Michel
504e7782fe
Refs #22654 -- Added additional tests and amended release note.
2017-05-05 18:45:07 -04:00
Tim Graham
d66378a8b2
Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value.
...
Thanks Simon Charette for review.
2017-05-05 18:35:08 -04:00
Christoph Schindler
2874531ab5
Fixed typo in docs/ref/forms/fields.txt.
2017-05-05 18:24:27 -04:00
Claude Paroz
e7f75b0b14
Fixed #28085 -- Added missing plural forms in en translation catalogs
2017-05-05 21:25:37 +02:00
Tim Graham
b014de011b
Removed obsolete HAS_GEOS variable for test skipping.
2017-05-04 20:45:18 -04:00
Tim Graham
2dc3280254
Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
2017-05-04 20:45:18 -04:00
Tim Graham
890537253c
Made runtests.py run gis_tests only when using a GIS database backend.
...
This facilitates other changes like refs #28160 .
2017-05-04 20:29:19 -04:00
François Freitag
ec05ff086c
Refs #25546 -- Added detailed comments for prefetch_related test.
2017-05-04 09:19:54 -04:00
François Freitag
c0a2b9508a
Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches.
2017-05-04 09:17:29 -04:00
Mariusz Felisiak
16121da78d
Fixed broken links to Oracle docs.
2017-05-04 09:11:47 -04:00
Simon Charette
b91868507a
Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
...
Thanks Tim for the review.
2017-05-04 00:02:14 -04:00
Simon Charette
f37467ec7a
Added a test for ArrayField(HStoreField()).
2017-05-03 23:53:08 -04:00
Tim Graham
67702f3505
Converted sessions_tests to use assertIs() rather than assertTrue/False().
2017-05-03 20:21:39 -04:00