Jon Dufresne
|
e703b93a65
|
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
|
2019-12-11 09:49:54 +01:00 |
Jon Dufresne
|
65285d1e7d
|
Refs #29892 -- Made Selenium tests wait for popups to be ready.
|
2019-12-02 15:06:36 +01:00 |
Carlton Gibson
|
11c5e0609b
|
Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
Thank you to Shen Ying for reporting this issue.
|
2019-12-02 08:56:08 +01:00 |
Carlton Gibson
|
c33eb6dcd0
|
Fixed #29892 -- Added explicit Selenium wait in admin autocomplete tests.
|
2019-11-29 14:03:22 +01:00 |
Jon Dufresne
|
875e3ff4fd
|
Fixed #29892 -- Added .wait_page_loaded() in SeleniumTests.test_first_field_focus().
|
2019-11-28 11:22:19 +01:00 |
Johannes Hoppe
|
249a6190ae
|
Fixed #30975 -- Replaced custom get_select_option with Selenium's select_by_value.
|
2019-11-27 16:34:07 +01:00 |
Johannes Hoppe
|
69dbb6b708
|
Fixed #30973 -- Converted selenium tests wait_page_loaded to context manager.
|
2019-11-27 14:36:26 +01:00 |
Hasan Ramezani
|
0284a26af9
|
Fixed #30981 -- Fixed admin changelist crash when using F() or OrderBy() expressions in admin_order_field.
|
2019-11-19 15:40:04 +01:00 |
Daniel Izquierdo
|
89abecc75d
|
Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones.
|
2019-11-19 10:55:05 +01:00 |
Hasan Ramezani
|
b9db423d3c
|
Fixed #29376 -- Allowed hiding "Save and Add Another" button in admin.
|
2019-09-16 11:37:09 +02:00 |
Federico Jaramillo Martínez
|
8f6860863e
|
Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.
|
2019-08-27 13:47:36 +02:00 |
Johannes Hoppe
|
00d4e6f8b5
|
Updated Select2 to version 4.0.7.
|
2019-07-10 12:31:16 +02:00 |
Min ho Kim
|
fbb83fefd4
|
Fixed typos in comments and docs.
|
2019-07-02 09:36:17 +02:00 |
Mariusz Felisiak
|
8fc8c958a5
|
Fixed broken selenium tests after 42b9a23267 .
|
2019-06-30 20:35:05 +02:00 |
Jon Dufresne
|
42b9a23267
|
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
|
2019-06-28 16:46:18 +02:00 |
Sanyam Khurana
|
87f5d07eed
|
Fixed #12952 -- Adjusted admin log change messages to use form labels instead of field names.
|
2019-06-14 18:20:29 +02:00 |
Mariusz Felisiak
|
7cbcf2e2cb
|
Fixed #30259 -- Fixed crash of admin views when properties don't have admin_order_field attribute.
|
2019-04-01 15:11:54 +02:00 |
Jani Tiainen
|
044cc54420
|
Fixed #30259 -- Added support for admin_order_field attribute on properties in ModelAdmin.list_display.
|
2019-03-24 20:43:56 +01:00 |
Etienne Chové
|
4dcbe6eb2d
|
Fixed #30221 -- Made label suffix of admin's read-only fields translatable.
|
2019-02-28 11:12:30 -05:00 |
Tim Graham
|
92d4d0859a
|
Refs #21221 -- Removed staticfiles and admin_static template tag libraries.
Per deprecation timeline.
|
2019-01-17 10:52:19 -05:00 |
Arthur Rio
|
181fb60159
|
Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
|
2019-01-16 10:07:28 -05:00 |
Simon Charette
|
8c775391b7
|
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
|
2019-01-10 19:11:21 -05: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 |
Tim Graham
|
043bd70942
|
Updated test URL patterns to use path() and re_path().
|
2018-12-31 10:47:32 -05:00 |
Matt Wiens
|
e817ae74da
|
Followed style guide for model attribute ordering.
|
2018-12-27 19:34:14 -05:00 |
Manan
|
3a4558b84f
|
Moved choices inside of test models per coding style.
|
2018-12-10 09:28:49 -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 |
Simon Charette
|
0f212db29d
|
Made reused RequestFactory instances class attributes.
|
2018-11-27 09:49:02 -05:00 |
Simon Charette
|
7f63b894c0
|
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
|
2018-11-27 09:48:22 -05:00 |
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05:00 |
Tim Graham
|
405ec5b9c6
|
Fixed typo in tests/admin_views/tests.py.
|
2018-11-16 15:09:22 -05:00 |
Sergey Fedoseev
|
747db4018b
|
Simplified AdminFieldExtractionMixin.get_admin_form_fields().
|
2018-09-25 11:06:41 -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 |
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
|
f5e7506cff
|
Refs #27804 -- Used subTest in AdminViewPermissionsTest.
|
2018-08-12 21:27:19 -04:00 |
luz.paz
|
97e637a87f
|
Fixed typos in comments and docs.
|
2018-08-01 16:09:22 -04:00 |
Claude Paroz
|
0adfba968e
|
Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
|
2018-07-19 16:44:40 -04:00 |
Tim Graham
|
5d98d53fab
|
Refs #27398 -- Simplified some tests with assertRedirects().
|
2018-06-20 14:08:56 -04: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 |
Ramiro Morales
|
f40e71a957
|
Fixed #29417 -- Corrected two admin page titles for view-only users.
|
2018-05-23 11:02:37 -04: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 |
Tim Graham
|
49a1736c2e
|
Added assertion for admin change form's "save and continue editing" message.
|
2018-05-15 20:17:02 -04:00 |
Morgan Aubert
|
704443acac
|
Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().
|
2018-05-09 11:40:28 -04:00 |
Claude Paroz
|
607970f31c
|
Replaced django.test.utils.patch_logger() with assertLogs().
Thanks Tim Graham for the review.
|
2018-05-07 09:34:00 -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
|
167d98528a
|
Refs #27728 -- Fixed BytesWarning in admin_views tests.
|
2018-04-03 10:11:35 -04:00 |