Mariusz Felisiak
|
7119f40c98
|
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
2022-02-07 20:37:05 +01:00 |
|
django-bot
|
9c19aff7c7
|
Refs #33476 -- Reformatted code with Black.
|
2022-02-07 20:37:05 +01:00 |
|
Claude Paroz
|
676bd084f2
|
Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2021-09-14 12:05:43 +02:00 |
|
Mariusz Felisiak
|
d992f4e3c2
|
Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.
|
2021-01-14 17:50:04 +01:00 |
|
Nick Pope
|
9204485396
|
Fixed #16117 -- Added decorators for admin action and display functions.
Refs #25134, #32099.
|
2021-01-13 17:19:22 +01:00 |
|
Qi Zhao
|
de81676b51
|
Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
|
2020-10-09 08:14:17 +02:00 |
|
Mariusz Felisiak
|
1e96de4f97
|
Added test for django.contrib.admin.utils.help_text_for_field().
|
2020-06-25 11:23:26 +02:00 |
|
Simon Charette
|
94f63b926f
|
Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.
|
2020-05-15 20:22:56 +02:00 |
|
dbxnr
|
fc0f7f6c15
|
Fixed #31157 -- Fixed displaying read-only JSONField values in admin.
|
2020-05-08 09:44:42 +02:00 |
|
dbxnr
|
675ce4dd35
|
Refs #31157 -- Added tests for display_for_field() with empty JSONField.
|
2020-05-08 09:37:49 +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 |
|
Tim Graham
|
043bd70942
|
Updated test URL patterns to use path() and re_path().
|
2018-12-31 10:47:32 -05: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 |
|
Nicolas Noé
|
c4158d050f
|
Fixed #29370 -- Added choices to LogEntry.action_flag field.
|
2018-05-07 10:07:45 -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 |
|
Tim Graham
|
fa75b2cb51
|
Refs #27795 -- Removed force_bytes/text() usage in tests.
|
2018-02-07 14:20:04 -05:00 |
|
Jon Dufresne
|
ff05de760c
|
Fixed #29038 -- Removed closing slash from HTML void tags.
|
2018-01-21 02:09:10 -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 |
|
Jonas Haag
|
ea10efebfa
|
Added display_for_value() tests for boolean values.
|
2018-01-03 15:02:00 -05:00 |
|
Mads Jensen
|
a51c4de194
|
Used assertRaisesMessage() to test Django's error messages.
|
2017-07-29 19:07:23 -04:00 |
|
Anton Samarchyan
|
0b9ccf9e60
|
Completed test coverage for admin's LogEntry model.
|
2017-06-19 14:12:38 -04:00 |
|
Collin Anderson
|
7c9cb1ed37
|
Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.
|
2017-06-09 13:28:50 -04:00 |
|
Claude Paroz
|
389c3ffc04
|
Updated tests after French translation update
|
2017-04-04 13:07:47 +02: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 |
|
Tim Graham
|
29f607927f
|
Fixed spelling of "nonexistent".
|
2017-02-03 08:01:45 -05:00 |
|
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +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
|
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 |
|
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
|
Tim Graham
|
e5f5e8ac17
|
Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.
|
2016-10-05 09:17:26 -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 |
|
Tim Graham
|
24123c3136
|
Fixed admin_utils test failures due to translation updates.
|
2016-08-01 15:40:46 -04:00 |
|
krishbharadwaj
|
f6681393d3
|
Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display display the id.
|
2016-06-08 17:20:03 -04:00 |
|
Dan Watson
|
ad403ffa45
|
Fixed #26582 -- Added prettier admin display for list values.
|
2016-05-07 15:49:41 -04:00 |
|
Tim Graham
|
92053acbb9
|
Fixed E128 flake8 warnings in tests/.
|
2016-04-08 10:12:33 -04:00 |
|
Tim Graham
|
7fa8aea8dd
|
Made @override_settings(ROOT_URLCONF=...) consistent.
|
2016-02-08 09:52:39 -05:00 |
|
Tim Graham
|
015fad9060
|
Fixed #26175 -- Removed SHA1 password hashes in tests.
|
2016-02-06 08:47:21 -05:00 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
userimack
|
60586dd737
|
Fixed #26125 -- Fixed E731 flake warnings.
|
2016-01-25 14:23:43 -05:00 |
|
Claude Paroz
|
4a03e6f272
|
Refs #21113 -- Updated test to allow for bad MySQL time resolution
|
2016-01-10 19:16:49 +01:00 |
|
Claude Paroz
|
cf7894be88
|
Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
|
2016-01-08 20:34:59 +01:00 |
|
Marten Kenbeek
|
16411b8400
|
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
|
2015-12-31 14:21:29 -05:00 |
|
Claude Paroz
|
35c41987ec
|
Moved LogEntry-related tests to their own test case
Thanks Tim Graham for reviewing and contributing to the patch.
Refs #21113.
|
2015-12-28 20:29:08 +01:00 |
|
Ville Skyttä
|
3ee18400ae
|
Fixed #25668 -- Misc spelling errors
|
2015-11-03 11:58:13 +02:00 |
|
elky
|
86cd89095a
|
Fixed #25348 -- Removed unused gif/png images from contrib.admin.
|
2015-09-04 08:55:36 -04:00 |
|
elky
|
c32b61c6fd
|
Fixed #20597 -- Replaced admin GIF/PNG icons by SVG
|
2015-08-27 17:21:02 -04:00 |
|