Paulo
927d9b51fe
[1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
...
Thanks Robin Anupol for the initial report and workaround.
Backport of 9dc83c356d
from master
2017-06-12 21:22:53 -04:00
kakulukia
992f143bad
[1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
...
Backport of 525dc283a6
from master
2017-06-06 15:57:08 -04:00
Paulo
a0707947e4
[1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
...
Backport of 4ad2f86284
from master
2017-06-06 08:18:08 -04:00
Paulo
834d57b4de
[1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
...
Backport of b7f99f84bc
from master
2017-06-05 11:34:43 -04:00
Claude Paroz
02158a785e
[1.11.x] Updated translations from Transifex
2017-05-31 21:42:51 +02:00
Yuichi Fujikawa
d6bff52fdf
[1.11.x] Fixed docstring typo in django/contrib/admin/actions.py.
...
Backport of f8bce94997
from master
2017-05-25 05:55:04 -04:00
Claude Paroz
290b2849f7
[1.11.x] Updated contrib translations from Transifex
2017-04-04 12:36:49 +02:00
Tim Graham
2bd152b46f
[1.11.x] Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
...
Backport of 075e93c16a
and
93d0770104
from master
2017-03-21 10:38:15 -04:00
Josh Schneier
0cc9175c76
[1.11.x] Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.
...
Backport of 6bc4ff36db
from master
2017-03-15 13:45:36 -04:00
Claude Paroz
d8e90040e9
[1.11.x] Fixed #27920 -- Restored empty RadioSelect choice producing value=""
...
Regression in b52c73008a
.
Thanks Tim Graham for the review.
Backport of 540ae68a5c
from master.
2017-03-14 18:27:19 +01:00
Raphael Merx
89b31b312e
[1.11.x] Fixed #27905 – Added RelatedFieldWidgetWrapper.value_omitted_from_data().
...
Backport of fd75c8f2b7
from master
2017-03-07 13:56:45 -05:00
David Szotten
93c8e2d50d
[1.11.x] Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.
...
Backport of d82ee32aac
from master
2017-03-02 10:58:47 -05:00
Collin Anderson
808d33c1bf
[1.11.x] Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget.
...
Backport of fb7e0e01af
from master
2017-02-20 08:48:17 -05:00
Nick Mavrakis
fb55247d59
[1.11.x] Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label.
...
Backport of e5c2e43cc8
from master
2017-01-23 19:25:02 -05:00
Claude Paroz
518693bef5
[1.11.x] Updated translation catalogs
2017-01-19 17:07:17 +01:00
Anton Samarchyan
95f434e2b9
Fixed #27714 -- Fixed small visual artifact when clicking inline edit button in admin.
2017-01-10 11:24:28 -05:00
Adam Chainz
9daf8c43bd
Fixed #26961 -- Made admin checks run when DEBUG=False.
2017-01-10 07:02:13 -05:00
Adam Chainz
d57ecf40eb
Fixed #27673 -- Made admin's checks run at check time instead of during registration.
...
Thanks Morgan Aubert for the test.
2017-01-10 07:02:13 -05:00
elky
0a47b675b0
Refs #15667 -- Removed hardcoded icon size for related widget wrapper.
...
The template-based widget rendering branch was started years ago.
This is obsolete now.
2017-01-09 09:59:14 -05:00
Tim Graham
8ea541e6a2
Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was deleted?" message.
2017-01-04 10:22:17 -05:00
Karen Tracey
27267afc41
Fixed #2856 -- Replaced some 404s with messages in admin.
...
Instead of a 404, return a redirect to admin index page with a message
indicating that the requested object does not exist. This avoids the
admin returning 404 from "Recent Actions" links for deleted objects.
2017-01-03 11:31:05 -05:00
Preston Timmons
b52c73008a
Fixed #15667 -- Added template-based widget rendering.
...
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-27 17:50:10 -05:00
Adonys Alea Boffill
8ba01d1e42
Fixed #26543 -- Prevented "confirm form submission" browser prompt when reloading after an admin actions failure.
2016-12-23 17:29:24 -05:00
Anton Samarchyan
da79240050
Fixed #26632 -- Skipped admin.E111 list_display_links check if get_list_display() is overridden.
2016-12-22 09:32:11 -05:00
Henry Dang
6af23a4521
Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOneField.
2016-12-19 08:33:46 -05:00
Michael Scott
1e629928e9
Fixed #27313 -- Allowed overriding admin popup response template.
2016-12-14 18:10:56 -05:00
Vinay Karanam
4a246a02bd
Refs #17235 -- Made MultiPartParser leave request.POST immutable.
2016-12-07 08:28:46 -05:00
nmhung89
8f76673f34
Fixed #18729 -- Made admin changelist not use distinct() if a list_filter doesn't require it.
2016-12-06 10:38:38 -05:00
Adam Chainz
6252fd6314
Fixed #27532 -- Deprecated Model._meta.has_auto_field
2016-11-25 13:24:11 -05:00
elky
9a49fdcd8f
Fixed #27531 -- Added block.super to admin's delete confirmation extrahead blocks.
2016-11-24 06:40:13 -05:00
Michiel Beijen
364293529b
Fixed #27393 -- Aligned input boxes in admin password reset forms.
2016-11-15 09:49:24 -05:00
Ramin Farajpour Cami
0a63ef3f61
Fixed #27463 -- Fixed E741 flake8 warnings.
2016-11-14 17:40:28 -05:00
Ramin Farajpour Cami
967be82443
Fixed E305 flake8 warnings.
2016-11-14 12:30:46 -05:00
Jacob Rief
b3162cab94
Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>.
2016-11-12 10:02:57 -05:00
Julian Andrews
adc93e8599
Fixed #26357 -- Allowed admin popups to work on links added after page load.
2016-10-24 20:17:31 -04:00
Halil Kaya
2027d6acf7
Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from blocking access to the app index page.
2016-10-13 09:11:36 -04:00
Nick Pope
f1664a2734
Replaced '__' with LOOKUP_SEP constant.
2016-10-11 11:14:06 -04:00
Tim Graham
4ba206ca63
Removed unused contrib.admin.utils.remove_trailing_data_field().
...
Unused since 8f30556329
.
2016-10-10 20:57:48 -04:00
Zach Borboa
bf91be83d5
Fixed #24941 -- Added ModelAdmin.get_exclude().
...
Thanks Ola Sitarska for the initial patch.
2016-10-07 18:49:28 -04:00
Tim Graham
e1b4360adc
Fixed #27273 -- Added a construct_change_message() admin utility function.
2016-10-05 08:02:33 -04:00
François Freitag
aa9569fce1
Fixed #27218 -- Returned LogEntry instances from ModelAdmin.log_*() methods.
2016-10-04 14:08:53 -04:00
Claude Paroz
67eee5e4fa
Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection
...
Thanks Ramiro Morales for the report and Tim Graham for the review.
2016-10-01 20:14:27 +02:00
Claude Paroz
63bf615d5e
Updated translations from Transifex
...
Forward port of bfc9c72725
from stable/1.10.x.
2016-09-30 22:12:41 +02:00
Tim Graham
6f3c78dbe6
Fixed #27266 -- Allowed using assertFormError()/assertFormsetError() in admin forms and formsets.
...
Thanks Diego Andrés Sanabria Martín for the report and review.
2016-09-27 09:56:19 -04:00
Claude Paroz
2c50120360
Fixed #27261 -- Added missing python-brace-format marker
...
Thanks Maxime Vdb for the report.
2016-09-23 20:01:31 +02:00
Mehdi Pourfar
13a8e633c2
Fixed #27158 -- Fixed positioning of admin's many-to-many widgets in rtl.css.
2016-09-22 19:23:24 -04:00
Jibodeah
9459ec82aa
Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.
...
Thanks juntatalor for the initial patch.
2016-09-14 16:06:39 -04:00
Jeff Willette
7148929a5e
Fixed #27216 -- Corrected import location in admin deprecation messages.
2016-09-13 13:45:24 -04:00
Jon Dufresne
e24c0a2d7c
Fixed #26524 -- Fixed crash in admin change view when displaying many to many forward refs.
...
Thanks Tim Graham for the regression test.
2016-09-12 19:20:35 -07:00
Alexander Gaevsky
536db42cf0
Fixed #26097 -- Added password_validators_help_text_html to UserCreationForm.
2016-09-10 18:23:18 -04:00