Dylan Verheul
|
9b1125bfc7
|
Fixed #28379 -- Made AccessMixin raise Permissiondenied for authenticated users.
|
2018-02-16 13:58:55 -05:00 |
Andreas Pelme
|
e307ff29d2
|
Fixed #27810 -- Allowed query expressions in admin_order_field.
|
2018-02-15 21:00:31 -05:00 |
Herbert Parentes Fortes Neto
|
d368784bac
|
Fixed #28171 -- Added an exception if Form's empty_permitted and use_required_attribute arguments conflict.
|
2018-02-15 13:44:26 -05:00 |
Tim Graham
|
e917ea6bec
|
Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
|
2018-02-15 13:17:37 -05:00 |
Tomer Chachamu
|
7ec0fdf62a
|
Fixed #28693 -- Fixed crash in CsrfViewMiddleware when an HTTPS request has an invalid host.
|
2018-02-14 20:24:01 -05:00 |
Haki Benita
|
ff5517988a
|
Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries.
|
2018-02-14 19:15:41 -05:00 |
Haki Benita
|
98dd943893
|
Added tests for the date_hierarchy template tag.
|
2018-02-14 13:36:10 -05:00 |
Sanyam Khurana
|
5a669ae2f4
|
Fixed #29106 -- Made DiscoverRunner display selected test tags.
|
2018-02-13 12:56:31 -05:00 |
Denys Duchier
|
cb7860cced
|
Fixed #24607 -- Serialized natural keys in multi-table inheritance models.
Thanks João Paulo Melo de Sampaio for the test.
|
2018-02-12 21:15:04 -05:00 |
Tim Graham
|
9ba3df8240
|
Refs #29125 -- Made Q.deconstruct() omit 'query_utils' in the path and _connector='AND' since it's a default value.
|
2018-02-12 15:23:41 -05:00 |
Tim Graham
|
b95c49c954
|
Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword arguments.
|
2018-02-12 14:52:32 -05:00 |
Tim Graham
|
a6fb81750a
|
Added a test for Client.generic() data coercion.
The smart_str() call (now force_bytes()) added in
e73838b6dd is otherwise untested.
|
2018-02-12 12:53:02 -05:00 |
Tim Graham
|
4206765a5b
|
Refs #20530 -- Added a test for test client query string encoding.
7bb6279360 is only tested in
django-contrib-comments.
|
2018-02-12 10:20:53 -05:00 |
Snow_Poijio
|
7a715b3881
|
Fixed typo in tests/one_to_one/tests.py docstring.
|
2018-02-12 08:44:49 -05:00 |
Stanislav Karpov
|
6d794fb762
|
Fixed #28960 -- Added GEOSGeometry.buffer_with_style().
|
2018-02-10 19:45:58 -05:00 |
Matthew Wilkes
|
2162f0983d
|
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
|
2018-02-10 19:08:55 -05:00 |
Raphael Gaschignard
|
bf26f66029
|
Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)).
|
2018-02-10 18:35:57 -05:00 |
Manatsawin Hanmongkolchai
|
1a1264f149
|
Fixed #29109 -- Fixed the admin time picker widget for the Thai locale.
|
2018-02-10 16:05:41 -05:00 |
Tim Graham
|
b832de869e
|
Added tests for utils.html.urlize() (lazy string inputs were untested).
|
2018-02-10 15:45:57 -05:00 |
Tim Graham
|
d4373b6da4
|
Switched test requirement to new psycopg2-binary package.
|
2018-02-08 20:02:35 -05:00 |
Simon Charette
|
d61fe24601
|
Fixed #29108 -- Fixed crash in aggregation of distinct+ordered+sliced querysets.
Regression in 4acae21846 .
Thanks Stephen Brooks for the report.
|
2018-02-08 09:59:25 -05:00 |
Jonas Haag
|
8c709d79cb
|
Fixed #17419 -- Added json_tag template filter.
|
2018-02-07 18:38:12 -05:00 |
Alexander Gaevsky
|
ef2512b2ff
|
Fixed #25790 -- Allowed disable column sorting in the admin changelist.
Thanks Ramiro Morales for completing the patch.
|
2018-02-07 17:46:28 -05:00 |
Tim Graham
|
fa75b2cb51
|
Refs #27795 -- Removed force_bytes/text() usage in tests.
|
2018-02-07 14:20:04 -05:00 |
Mariusz Felisiak
|
34b52f8572
|
Renamed the allow_sliced_subqueries database feature to allow_sliced_subqueries_with_in.
After 0899d583bd this database feature is
false only on MySQL which doesn't support sliced subqueries only with
IN/ALL/ANY/SOME.
|
2018-02-07 08:27:47 +01:00 |
Nick Sarbicki
|
47268242b0
|
Fixed #29082 -- Allowed the test client to encode JSON request data.
|
2018-02-06 18:29:04 -05:00 |
shanghui
|
d968788b57
|
Fixed #28833 -- Prevented CacheMiddleware from caching responses with "Cache-Control: private".
|
2018-02-06 09:42:05 -05:00 |
Tom
|
272f685794
|
Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects.
|
2018-02-06 09:03:43 -05:00 |
Raymond Hettinger
|
aba9763b51
|
Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation warnings.
https://bugs.python.org/issue25988
|
2018-02-05 11:42:47 -05:00 |
Jon Dufresne
|
8b21878357
|
Refs #28723 -- Fixed stale prefetch_related cache after add/remove.
Regression in 514b2c989a .
|
2018-02-05 11:02:57 -05:00 |
Jon Dufresne
|
f0658ff818
|
Made prefetch_related tests use assertCountEqual() for unordered sequences.
|
2018-02-05 10:00:57 -05:00 |
Raffaele Salmaso
|
da3df5b878
|
Fixed #8500 -- Allowed overriding the default admin site instance.
|
2018-02-03 18:51:10 -05:00 |
Tim Graham
|
d0a42a14c0
|
Fixed imports per isort 4.3.1.
Partially reverted 9bcf73d788 .
|
2018-02-02 14:44:07 -05:00 |
Mariusz Felisiak
|
75e45a45e7
|
Simplified aggregation.tests.
|
2018-02-02 08:47:32 +01:00 |
Tim Graham
|
af33fb250e
|
Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8 (refs #28645).
This is a security fix.
|
2018-02-01 09:05:14 -05:00 |
Tim Graham
|
552abffab1
|
Fixed #29094 -- Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields.
Regression in 2f9861d823 .
Thanks Carel Burger for the report and fix.
|
2018-02-01 08:36:36 -05:00 |
Mariusz Felisiak
|
9bcf73d788
|
Fixed imports per isort 4.3.0.
|
2018-02-01 09:29:46 +01:00 |
priyanshsaxena
|
617d5f410f
|
Fixed #29066 -- Allowed negating query expressions.
|
2018-01-31 10:54:19 -05:00 |
Tim Graham
|
0a37ea56d0
|
Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py.
Regression in aadd3aeb2b .
|
2018-01-31 09:36:36 -05:00 |
Vlastimil Zíma
|
fbc3c29e7c
|
Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the attribute is added by JavaScript.
Thanks Tim Graham for the initial patch.
|
2018-01-30 19:09:31 -05:00 |
Tim Graham
|
3a4b11873a
|
Added tests for SelectDateWidget.value_from_datadict().
|
2018-01-30 18:10:33 -05:00 |
Mads Jensen
|
1500573620
|
Added test for Apps.get_models() when models_ready=False.
|
2018-01-30 10:44:58 -05:00 |
Jon Dufresne
|
136bf5c214
|
Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change.
|
2018-01-30 10:43:53 -05:00 |
bquinn
|
c2b969e124
|
Fixed #29004 -- Added inspectdb --include-views option.
|
2018-01-27 18:51:40 -05:00 |
Sigurd Ljødal
|
a455e732a0
|
Fixed #28650 -- Added TruncWeek database function.
|
2018-01-27 09:59:13 -05:00 |
François Freitag
|
3aa9ab39cc
|
Refs #28748 -- Reallowed lazy values in model field choices.
Regression in f9844f4841 .
Thanks Matthias Kestenholz for the report and suggestions.
|
2018-01-27 09:19:56 -05:00 |
Mariusz Felisiak
|
b002a032f9
|
Fixed #29054 -- Fixed a regression where a queryset that annotates with geometry objects crashes.
Made GEOSGeometryBase hashable.
Regression in 19b2dfd1bf .
Thanks Tim Graham for the review.
|
2018-01-27 11:12:11 +01:00 |
Jon Dufresne
|
3187c89d6f
|
Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True) followed by annotate().
|
2018-01-26 09:35:50 -05:00 |
Roger Gammans
|
d0b44c44ef
|
Fixed #29060 -- Made {% firstof %} assign '' to the asvar if all inputs are false.
|
2018-01-25 13:40:51 -05:00 |
shanghui
|
8dc675d90f
|
Fixed #28838 -- Fixed Model.save() crash if the base manager annotates with a related field.
|
2018-01-25 10:12:04 -05:00 |