Becky Smith
8116e588db
Fixed #17962 -- Added ModelAdmin.get_deleted_objects().
2018-02-24 20:41:43 -05:00
Tim Graham
9822d88ca0
Removed using argument from admin's get_deleted_objects().
2018-02-24 09:21:13 -05:00
a8568730
ba37ee9ef8
Fixed #28635 -- Fixed admin's preserved filters if the URL contains non-ASCII characters.
2018-02-23 15:40:11 -05:00
Tim Graham
16436f3751
Removed unused opts argument from admin's get_deleted_objects().
...
Unused since e12b3199d0
.
2018-02-21 13:32:13 -05:00
Andreas Pelme
e307ff29d2
Fixed #27810 -- Allowed query expressions in admin_order_field.
2018-02-15 21:00:31 -05:00
Haki Benita
ff5517988a
Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries.
2018-02-14 19:15:41 -05:00
Tim Graham
f5c9bbd3e3
Made cosmetic edits to contrib.admin.filters.
2018-02-14 13:40:24 -05:00
Haki Benita
2014db50f4
Removed redundant filtering in date_hierarchy template tag.
...
cl.queryset is already filtered by the current selections.
2018-02-13 14:12:40 -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
Raffaele Salmaso
da3df5b878
Fixed #8500 -- Allowed overriding the default admin site instance.
2018-02-03 18:51:10 -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
Jon Dufresne
7d607127e3
Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries.
2018-01-23 10:30:10 -05:00
Jon Dufresne
ff05de760c
Fixed #29038 -- Removed closing slash from HTML void tags.
2018-01-21 02:09:10 -05:00
Tim Graham
a22ef3bb37
Removed library name from file names of admin's JavaScript library licenses.
2018-01-20 12:30:00 -05:00
Дилян Палаузов
a38ae914d8
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
2018-01-12 12:44:50 -05:00
Vasilis Aggelou
777f216d55
Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion.
2018-01-05 18:28:45 -05:00
Paulo
d1286a8a68
Fixed #28517 -- Fixed admin delete confirmation view crash when related models don't have a delete permission.
2018-01-04 19:07:46 -05:00
Дилян Палаузов
d7b2aa24f7
Fixed #28982 -- Simplified code with and/or.
2018-01-03 20:12:23 -05:00
Jonas Haag
602481d0c9
Fixed #28986 -- Prevented boolean values in admin list display from being formatted with thousand separators.
2018-01-03 15:02:06 -05:00
Tim Graham
acc8dd4142
Fixed #28984 -- Made assorted code simplifications.
2018-01-03 13:24:02 -05:00
Дилян Палаузов
d79cf1e9e2
Fixed #28985 -- Removed unneeded None checks before hasattr().
2018-01-03 11:37:06 -05:00
Mariusz Felisiak
c815213740
Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
...
Thanks Tim Graham for the review.
2017-12-27 18:38:30 +01:00
Дилян Палаузов
4c599ece57
Fixed #28930 -- Simplified code with any() and all().
2017-12-26 17:11:15 -05:00
Tim Graham
6deaddcca3
Fixed #28956 -- Updated admin's jQuery to 3.2.1.
2017-12-26 10:21:05 -05:00
Tim Graham
0fc4b1f31f
Refs #28956 -- Removed usage of jQuery's deprecated event methods in admin JavaScript.
2017-12-26 10:21:05 -05:00
Tim Graham
b730973fff
Refs #28956 -- Removed usage of jQuery's deprecated .selector property in admin JavaScript.
2017-12-26 10:21:05 -05:00
Tim Graham
8dbaeb6138
Updated minified admin JavaScript for the latest closure compiler.
2017-12-26 10:21:05 -05:00
Rodrigo Pinheiro Marques de Araújo
30a389bd77
Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields.
2017-12-13 02:39:27 -05:00
Nick Pope
d13a9e44de
Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.
2017-12-11 07:08:45 -05:00
Tim Graham
02d9419fe3
Fixed #28907 -- Removed unnecessary if statements.
2017-12-07 17:12:00 -05:00
Sergey Fedoseev
b728ab22e1
Simplified BaseModelAdmin.lookup_allowed() a bit.
2017-12-06 23:54:51 +05:00
Дилян Палаузов
d2afa5eb23
Fixed #28860 -- Removed unnecessary len() calls.
2017-12-04 10:35:23 -05:00
Tim Graham
81057645f6
Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add another" inlines.
...
Also allowed autocomplete widgets to work on AdminSites with a name other
than 'admin'.
2017-12-01 22:14:32 -05:00
Claude Paroz
d0932ce8fc
Updated contrib translations from Transifex
...
Forward port of 765e6de924
from stable/2.0.x
2017-12-01 21:51:30 +01:00
Vasiliy Bolshakov
03974d8122
Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media before its formset's Media.
...
This provides better backwards compatibility following refs #28377 .
2017-11-30 20:15:28 -05:00
Krzysztof Nazarewski
244cc40155
Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
...
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-18 19:33:52 -05:00
Tim Graham
931c60c521
Refs #28814 -- Fixed "SyntaxError: Generator expression must be parenthesized" on Python 3.7.
...
Due to https://bugs.python.org/issue32012 .
2017-11-17 15:38:29 -05:00
shanghui
ebb998976e
Fixed #28751 -- Corrected the error message for inactive users in AdminAuthenticationForm.
...
Thanks SeungWon Kang for the report and Tim Graham for the review.
2017-11-08 09:39:12 -05:00
Claude Paroz
0cf00769ad
Fixed #28585 -- Calculated admin's change form multipart context variable from forms and formsets
...
Thanks Tim Graham for the review.
2017-11-07 19:06:32 -05:00
Дилян Палаузов
c69e4bc691
Fixed #28769 -- Replaced 'x if x else y' with 'x or y'.
2017-11-07 09:08:46 -05:00
Ondrej Kolimar
ba2c4ec7cc
Fixed #28768 -- Added Slovak char map for Javascript slug generation.
2017-11-03 09:22:59 -04:00
Ville Skyttä
23e551ce6c
Refs #23919 -- Updated references to urllib.quote() to Python 3 location.
2017-10-31 12:05:54 -04:00
Sævar Öfjörð Magnússon
f90be0a83e
Fixed #28688 -- Made admin's URLify.js skip removal of English words if non-ASCII chars are present.
2017-10-12 11:50:20 -04:00
Johannes Hoppe
3a191bd4ab
Fixed #28685 -- Fixed awkward wrapping of Select2 chips.
2017-10-09 09:00:24 -04:00
Hunter Richards
47016adbf5
Fixed #28490 -- Removed unused code in admin.E108 check.
2017-10-02 13:04:42 -04:00
Tim Graham
98706bb35e
Refs #27857 -- Replaced json.loads() ValueError exception catching with JSONDecodeError.
2017-09-25 17:11:06 -04:00
Claude Paroz
c180abe6f1
Fixed JS linter error
...
Regression introduced in 1f3dfd783d
.
2017-09-24 17:51:50 +02:00
Claude Paroz
fe000ab18d
Refs #25006 -- Marked again admin time picker shortcuts for translation
2017-09-24 13:41:51 +02:00
Sjoerd Job Postmus
df41b5a05d
Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
...
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Johannes Hoppe
94cd8efc50
Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
...
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
2017-09-18 13:48:02 -04:00
Johannes Hoppe
01a294f8f0
Refs #14370 -- Vendored Select2 4.0.3 for use by the admin.
...
From https://github.com/select2/select2/releases/tag/4.0.3
2017-09-18 13:47:50 -04:00
elky
dc37e8846e
Fixed #26818 -- Added responsive CSS for the admin.
2017-09-16 19:11:19 -04:00
Mariusz Felisiak
0ec0e5029c
Removed unnecessary parens in various code.
2017-09-13 21:20:29 -04:00
Mariusz Felisiak
0214f367bc
Merged isinstance() calls.
2017-09-13 15:00:45 -04:00
Tim Graham
6e4c6281db
Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."
...
This reverts commit 550cb3a365
because try/except performs better.
2017-09-07 08:16:21 -04:00
Sergey Fedoseev
c309ec0824
Simplified admin.widgets.url_params_from_lookup_dict().
2017-09-05 09:47:11 -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
Claude Paroz
afc06b5625
Fixed #28536 -- Removed old JS cross-browser utilities
2017-08-28 20:31:09 +02:00
Claude Paroz
8275662a24
Removed lone usage of jQuery in admin's calendar.js
2017-08-26 18:00:44 +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
fac74b84a3
Used OrderedDict.fromkeys() to initialize OrderedDict with None values.
2017-08-23 11:40:17 -04:00
Simon Meers
7bba82453c
Fixed #28496 -- Added ModelAdmin.get_changelist_instance().
2017-08-22 08:17:26 -04:00
bc500
09423db71a
Fixed #28472 -- Optimized a jQuery selector in admin's actions.js.
2017-08-08 08:35:57 -04:00
Tim Graham
8df7681d0e
Removed unneeded escape filter in templates where autoescaping is enabled.
2017-08-01 10:52:29 -04:00
Sergey Fedoseev
38988f289f
Avoided creation of temporary sets.
2017-07-29 10:16:43 -04:00
Tom Forbes
462f1589cd
Refs #23919 -- Updated contrib.admin's compress.py to use pathlib.
2017-07-21 10:24:49 -04:00
Johannes Hoppe
c19b56f633
Fixed #28377 -- Made combining form Media retain relative asset order.
...
Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
2017-07-20 11:06:30 -04:00
Roman Selivanov
d4da39685b
Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of MultiWidget.
2017-07-19 14:28:06 -04:00
Mads Jensen
550cb3a365
Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().
2017-06-28 14:07:55 -04:00
Lincoln Smith
15b465c584
Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.
2017-06-14 13:07:06 -04:00
Mariusz Felisiak
de9294727c
Added tel input type to admin CSS.
2017-06-13 16:49:57 -04:00
monotonee
7c4f05fae2
Fixed #28295 -- Made admin's URLify.js trim trailing hyphens.
2017-06-13 14:58:30 -04:00
Paulo
9dc83c356d
Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
...
Thanks Robin Anupol for the initial report and workaround.
2017-06-12 21:12:54 -04:00
Tim Graham
c16aa69101
Factored shared Inline/ModelAdmin.get_fields() logic into BaseModelAdmin.
...
BaseModelAdmin.get_fields() was previously unused/untested.
2017-06-07 17:11:02 -04:00
kakulukia
525dc283a6
Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
2017-06-06 15:41:23 -04:00
Paulo
4ad2f86284
Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
2017-06-06 07:54:31 -04:00
Tim Graham
5a52d932ef
Replaced Model._get_pk_val() with pk property.
...
Model.pk was added after _get_pk_val() and many places weren't simplified.
2017-06-05 15:20:34 -04:00
Paulo
b7f99f84bc
Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
2017-06-05 10:29:54 -04:00
Tim Graham
37520d284e
Removed useless hasattr() checks in ModelAdmin checks.
...
These attributes are defined on BaseModelAdmin and thus should always
be there.
2017-06-02 15:27:15 -04:00
Jon Dufresne
2c69824e5a
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
2017-06-01 19:08:59 -04:00
Claude Paroz
ae2ac4c400
Updated translations from Transifex
...
Forward port of 02158a785e
from stable/1.11.x
2017-05-31 21:43:40 +02:00
Jon Dufresne
21046e7773
Fixed #28249 -- Removed unnecessary dict.keys() calls.
...
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27 19:08:46 -04:00
Tom
7afb476469
Fixed #28226 -- Replaced use of str.join() with concatenation.
2017-05-27 13:59:05 -04:00
Anton Samarchyan
385cf7091e
Fixed #25006 -- Allowed custom time shortcuts in admin's time picker.
2017-05-27 10:50:18 -04:00
Yuichi Fujikawa
f8bce94997
Fixed docstring typo in django/contrib/admin/actions.py.
2017-05-25 05:54:51 -04:00
Claude Paroz
e7f75b0b14
Fixed #28085 -- Added missing plural forms in en translation catalogs
2017-05-05 21:25:37 +02:00
Claude Paroz
301de774c2
Refs #27795 -- Replaced many force_text() with str()
...
Thanks Tim Graham for the review.
2017-04-27 09:10:02 +02:00
Jon Dufresne
92bc727271
Replaced temporary lists used for passing arguments with iterables.
2017-04-26 10:54:20 -04:00
Claude Paroz
2dba812d86
Updated contrib translations from Transifex
...
Forward port of 290b2849f7
from stable/1.11.x
2017-04-04 12:39:02 +02:00
Adonys Alea Boffill
a0d29a9abe
Fixed #27942 -- Prevented admin from adding "add" buttons to all tables in inlines.
2017-03-30 10:39:59 -04:00
Tim Graham
1fa47dc45a
Updated minified admin JavaScript for the latest closure compiler.
2017-03-30 10:06:52 -04:00
Mads Jensen
ed0cbc8d8b
Refs #23919 -- Removed some Python 2 compatibility code and comments.
2017-03-27 13:12:27 -04:00
Tim Graham
93d0770104
Refs #27919 -- Changed contrib widget's get_context() attrs kwarg to an arg.
...
Follow up to 075e93c16a
.
2017-03-21 10:15:34 -04:00
Josh Schneier
6bc4ff36db
Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.
2017-03-15 13:45:18 -04:00
Claude Paroz
540ae68a5c
Fixed #27920 -- Restored empty RadioSelect choice producing value=""
...
Regression in b52c73008a
.
Thanks Tim Graham for the review.
2017-03-14 18:23:06 +01:00
Raphael Merx
2a3a0eb092
Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data().
2017-03-07 13:56:29 -05:00
Tim Graham
784a53beef
Reverted "Fixed #27878 , refs #23919 -- Used python3 shebangs."
...
This reverts commit 4cffa9a1ff
.
2017-03-07 10:10:32 -05:00
Anton Samarchyan
e88d2dfcf4
Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.
2017-03-06 12:01:31 -05:00
Claude Paroz
8346680e1c
Refs #27795 -- Removed unneeded force_text calls
...
Thanks Tim Graham for the review.
2017-03-04 18:18:21 +01:00
David Szotten
d82ee32aac
Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.
2017-03-02 10:25:05 -05:00
Chris Lamb
4cffa9a1ff
Fixed #27878 , refs #23919 -- Used python3 shebangs.
2017-02-23 13:41:10 -05:00
Anton Samarchyan
610876661e
Fixed typos in code comments.
2017-02-22 10:25:42 -05:00
Collin Anderson
fb7e0e01af
Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget.
2017-02-20 08:48:03 -05:00
Anton Samarchyan
b27166b769
Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.
2017-02-07 19:33:26 -05:00
Claude Paroz
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
...
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Anton Samarchyan
5411821e3b
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
2017-02-04 16:39:28 -05:00
Tim Graham
29f607927f
Fixed spelling of "nonexistent".
2017-02-03 08:01:45 -05:00
Vytis Banaitis
8838d4dd49
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
2017-02-01 11:41:56 -05:00
Claude Paroz
3b2e28fc85
Used model_ngettext in two more places
2017-01-31 08:48:17 +01:00
Claude Paroz
fee42fd99e
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
...
Thanks Tim Graham for the review.
2017-01-26 19:49:03 +01:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
chillaranand
d6eaf7c018
Refs #23919 -- Replaced super(ClassName, self) with super().
2017-01-25 12:23:46 -05:00
Nick Mavrakis
e5c2e43cc8
Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label.
2017-01-23 19:24:47 -05:00
Claude Paroz
6e55e1d88a
Refs #23919 -- Replaced six.reraise by raise
2017-01-22 20:08:04 +01:00
Claude Paroz
dc8834cad4
Refs #23919 -- Removed unneeded force_str calls
2017-01-20 08:44:31 +01:00
Tim Graham
9d27478958
Refs #23919 -- Removed docs references to long integers.
2017-01-19 13:19:26 -05:00
Claude Paroz
53f3d53ed4
Updated translation catalogs
...
Forward port of 518693bef5
from stable/1.11.x
2017-01-19 17:09:37 +01:00
Simon Charette
cecc079168
Refs #23919 -- Stopped inheriting from object to define new style classes.
2017-01-19 08:39:46 +01:00
Claude Paroz
2b281cc35e
Refs #23919 -- Removed most of remaining six usage
...
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
7b2f2e74ad
Refs #23919 -- Removed six.<various>_types usage
...
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18 20:18:46 +01:00
Claude Paroz
f3c43ad1fd
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Tim Graham
d67a46e104
Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
...
Per deprecation timeline.
2017-01-17 20:52:01 -05: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