Claude Paroz
|
aa5fd84f53
|
Updated translation catalogs
|
2019-01-16 20:51:26 +01:00 |
Claude Paroz
|
87bf35abd3
|
Removed unexpected chars in Armenian admin translation
|
2019-01-15 10:43:11 +01:00 |
MaximZemskov
|
3c01fe30f3
|
Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396 .
|
2019-01-11 18:02:43 -05:00 |
Claude Paroz
|
217f4456d8
|
Fetched Armenian translations from Transifex
|
2019-01-10 10:50:42 +01:00 |
Tim Graham
|
0004daa536
|
Used 4 space hanging indent for dictionaries.
Thanks Mariusz Felisiak for auditing.
|
2019-01-02 18:18:19 -05:00 |
Tim Graham
|
02c07be95c
|
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.
|
2019-01-01 09:42:14 -05:00 |
Carlton Gibson
|
8245c99ee6
|
Fixed #29930 -- Allowed editing in admin with view-only inlines.
Co-authored-by: Tim Graham <timograham@gmail.com>
|
2018-12-03 07:44:18 -08:00 |
Basil Dubyk
|
7d1123e5ad
|
Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
|
2018-11-28 15:40:14 -05:00 |
redodo
|
2e4776196d
|
Fixed #29953 -- Added CSS class to column headers in tabular inlines.
The class name is the same as one given to the fields in the change list.
|
2018-11-20 18:17:53 -05:00 |
Sanyam Khurana
|
a7d6cab771
|
Fixed #29282 -- Prevented some admin checks from crashing with TypeError.
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
|
2018-11-20 17:19:13 -05:00 |
redodo
|
89a2216486
|
Fixed #29961 -- Made RelatedFieldWidgetWrapper hide related item links if wrapping a hidden widget.
|
2018-11-19 15:12:52 -05:00 |
Vishvajit Pathak
|
11bcb57ee2
|
Fixed #29964 -- Removed unused admin/related_widget_wrapper.html template.
Unused since b52c73008a .
|
2018-11-18 11:42:48 -05:00 |
Hasan Ramezani
|
6d4e5feb79
|
Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.
|
2018-11-14 14:29:39 -05:00 |
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
|
1f726311d1
|
Used method chaining in DateTimeShortcuts.js.
|
2018-11-09 19:56:46 -05:00 |
Matthias Kestenholz
|
f9ff1df1da
|
Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.
|
2018-11-09 18:52:30 -05:00 |
Javier Matos Odut
|
3d4d0a25b2
|
Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset().
|
2018-10-31 10:16:17 -04:00 |
Mac Chapman
|
fb5dfd53a7
|
Fixed #29832 -- Updated Roboto font to v2.137.
|
2018-10-11 23:30:45 -04:00 |
Sergey Fedoseev
|
e4df8e6dc0
|
Simplified contrib.admin.utils.unquote().
|
2018-10-02 15:42:56 -04:00 |
Przemysław Buczkowski
|
70d0a1ca02
|
Fixed #29711 -- Added a system check for uniquness of admin actions' __name__.
|
2018-10-02 09:17:23 -04:00 |
Sergey Fedoseev
|
e9defb3f6e
|
Simplified contrib.admin.utils.quote().
|
2018-10-01 09:11:53 -04:00 |
Carlton Gibson
|
bf39978a53
|
Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" users.
Thanks Claude Paroz & Tim Graham for collaborating on the patch.
|
2018-10-01 10:05:01 +02:00 |
Claude Paroz
|
033d842e84
|
Updated translations from Transifex
Forward port of d5ed08263b from master.
|
2018-09-29 17:11:49 +02:00 |
Sergey Fedoseev
|
8ef8bc0f64
|
Refs #28909 -- Simplifed code using unpacking generalizations.
|
2018-09-28 09:57:12 -04:00 |
Jon Dufresne
|
82f286cf6f
|
Refs #29784 -- Switched to https:// links where available.
|
2018-09-26 08:48:47 +02:00 |
Jon Dufresne
|
8c3e0eb1c1
|
Normalized spelling of "lowercase" and "lowercased".
|
2018-09-25 10:30:18 -04:00 |
Jon Dufresne
|
ad9a28ee38
|
Refs #29784 -- Normalized Python docs links to omit the version.
|
2018-09-25 10:19:42 +02:00 |
Tim Graham
|
fd8a7a5313
|
Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.
* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
|
2018-08-30 11:22:50 +02:00 |
Claude Paroz
|
50b8493581
|
Refs #29654 -- Replaced three dots with ellipsis character in output strings.
|
2018-08-22 09:13:58 -04:00 |
Claude Paroz
|
201017df30
|
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
|
2018-08-21 17:46:45 +02:00 |
Rodrigo
|
371ece2f06
|
Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting.
|
2018-08-20 17:57:46 -04:00 |
Tim Graham
|
d311124be5
|
Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
|
2018-08-20 11:14:20 -04:00 |
Taha Jahangir
|
0e7a9525ba
|
Fixed #29690 -- Fixed aligned <ul> positioning for RTL languages in admin.
|
2018-08-20 10:20:30 -04:00 |
Jon Dufresne
|
dc0868d414
|
Removed redundant 'model' argument in admin checks.
|
2018-08-20 09:11:42 -04:00 |
mackong
|
c832885a3e
|
Fixed #29426 -- Made UUID inputs in the admin match the width of a UUID.
|
2018-08-18 10:16:22 -04:00 |
Jon Dufresne
|
09ee3b6fe3
|
Fixed #29663 -- Made admin change view redirect to changelist with view permission.
|
2018-08-17 11:13:06 -04:00 |
Jon Dufresne
|
57f16655cd
|
Added ModelAdmin._response_post_save() to avoid code duplication.
|
2018-08-17 10:51:57 -04:00 |
Jon Dufresne
|
cd790ed1a6
|
Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
|
2018-08-16 09:49:06 -04:00 |
Clément Mangin
|
64e1a271f5
|
Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8 .
|
2018-08-10 11:20:43 -04:00 |
Vlastimil Zíma
|
a9f5652113
|
Fixed #28529 -- Fixed VariableDoesNotExist warnings in admin templates.
|
2018-08-06 17:03:06 -04:00 |
Claude Paroz
|
287fef8693
|
Updated contrib translations from Transifex
Forwardport of cbf7e7dc52 from stable/2.1.x.
|
2018-08-01 09:24:06 -04:00 |
Claude Paroz
|
ba83378a77
|
Fixed #29523 -- Removed jQuery usage in DateTimeShortcuts.js & collapse.js.
|
2018-07-20 12:27:53 -04:00 |
Jonah Bishop
|
263e039411
|
Fixed #29045 -- Fixed admin CSS so that select multiple elements honor the HTML size attribute.
|
2018-07-10 16:22:09 -04:00 |
Claude Paroz
|
a5f139236f
|
Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height.
Thanks Tim Graham for the review.
|
2018-06-29 17:21:27 +02:00 |
Carlton Gibson
|
5b73317181
|
Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
|
2018-06-18 15:36:20 -04:00 |
Carlton Gibson
|
958c7b301e
|
Fixed #29419 -- Allowed permissioning of admin actions.
|
2018-06-18 15:07:29 -04:00 |
Paulo
|
553617e613
|
Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
Thanks Matthew Frazier for the report and fix.
|
2018-06-15 21:54:22 -04:00 |
Henk Kahlfuß
|
3eb9127678
|
Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking.
|
2018-06-15 10:31:08 -04:00 |
Tim Graham
|
ec2c9c3531
|
Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering.
|
2018-06-14 21:04:43 -04:00 |
Tim Graham
|
0d8e3e608e
|
Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering.
|
2018-06-14 14:22:04 -04:00 |
Carlton Gibson
|
b30f9b131c
|
Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda8 .
|
2018-06-13 14:49:28 -04:00 |
Tim Graham
|
e9bd1a3e12
|
Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+.
|
2018-06-06 11:40:24 -04:00 |
Adam Donaghy
|
b18650a263
|
Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a3 .
|
2018-06-01 10:41:05 -04:00 |
Sara Heins
|
5008d59a2a
|
Fixed #28892 -- Allowed admin navbar height to expand if needed.
|
2018-05-29 21:52:51 -04:00 |
Ramiro Morales
|
f40e71a957
|
Fixed #29417 -- Corrected two admin page titles for view-only users.
|
2018-05-23 11:02:37 -04:00 |
Paulo Alvarado
|
ffb72a95bc
|
Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
Regression in 825f0beda8 .
|
2018-05-18 19:50:58 -04:00 |
Claude Paroz
|
77f6340d3b
|
Updated translation catalogs
|
2018-05-17 12:09:40 +02:00 |
olivierdalang
|
825f0beda8
|
Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
|
2018-05-16 06:44:55 -04:00 |
T N
|
2405833c53
|
Fixed #29401 -- Updated admin's jQuery to 3.3.1.
|
2018-05-13 13:02:24 -04:00 |
Nicolas Noé
|
c4158d050f
|
Fixed #29370 -- Added choices to LogEntry.action_flag field.
|
2018-05-07 10:07:45 -04:00 |
Matthias Kestenholz
|
13efbb233a
|
Fixed #29322 -- Made admin check all ModelAdmin fieldsets for duplicates.
|
2018-04-13 11:08:30 -04:00 |
Faheel Ahmad
|
5d4d62bf4f
|
Fixed #29248 -- Renamed admin CSS class field-box to fieldBox.
|
2018-04-05 10:55:36 -04:00 |
Jon Dufresne
|
be6ca89396
|
Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().
Thanks Vladimir Ivanov for the initial patch.
|
2018-04-04 19:21:50 -04:00 |
Nick Pope
|
281c0223b3
|
Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField.
|
2018-03-20 12:10:10 -04:00 |
Tim Graham
|
5fa4f40f45
|
Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
|
2018-03-20 12:10:10 -04:00 |
Hasan Ramezani
|
274e3e27f3
|
Fixed #29184 -- Made TabularInline respect model form's Meta.labels and help_texts.
|
2018-03-17 20:51:24 -04:00 |
Josh Schneier
|
b60e5fdbb7
|
Fixed #28959 -- Fixed 'No, take me back' button on admin's inline popup.
|
2018-03-15 20:47:18 -04:00 |
David Sanders
|
47bb3b68ff
|
Fixed #29219 -- Made admin filters use processed params rather than request.GET.
|
2018-03-15 11:33:19 -04:00 |
Artem Tabolin
|
a2f7433adc
|
Fixed #29221 -- Corrected admin's autocomplete widget to add a space after custom classes.
|
2018-03-15 10:55:34 -04:00 |
dzhuang
|
e17088a108
|
Fixed #29213 -- Fixed autocomplete widget's translations for zh-hans/zh-hant.
|
2018-03-13 10:58:34 -04:00 |
Daniel Hahler
|
683341db43
|
Condensed some widgets code.
|
2018-03-03 13:35:09 -05:00 |
Carlton Gibson
|
94a180402c
|
Refs #27728 -- Fixed thread safety of admin template tags.
Regression in 5cc28dc752 .
|
2018-03-01 11:45:08 -05:00 |
Tim Graham
|
4c02e3cda3
|
Refs #27728 -- Made cosmetic edits to admin template tag template overriding.
|
2018-03-01 11:45:08 -05:00 |
Claude Paroz
|
75527c0f83
|
Updated translations from Transifex
Forward port of 2126e9317e from stable/2.0.x.
|
2018-02-28 20:06:52 +01:00 |
Raffaele Salmaso
|
5cc28dc752
|
Fixed #27728 -- Allowed overriding admin templatetags templates.
|
2018-02-28 08:49:40 +01:00 |
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 |