T. Franzel
|
a2eaea8f22
Fixed #34388 -- Allowed using choice enumeration types directly on model and form fields.
|
2 years ago |
Mariusz Felisiak
|
1760ad4e8c
Relaxed some query ordering assertions in various tests.
|
3 years ago |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
3 years ago |
Adam Johnson
|
fdfa97fb16
Fixed #33441 -- Restored immutability of models.Field.__hash__().
|
3 years ago |
Mariusz Felisiak
|
d992f4e3c2
Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.
|
4 years ago |
Ryan Hiebert
|
502e75f9ed
Fixed #31750 -- Made models.Field equality compare models for inherited fields.
|
4 years ago |
Carlton Gibson
|
29c126bb34
Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
|
5 years ago |
Carlton Gibson
|
2d38eb0ab9
Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
|
5 years ago |
Dan Moore
|
bc94e3c1a2
Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse relationships.
|
6 years ago |
Dan Moore
|
f3855a8d2d
Added tests for Field.get_choices()'s limit_choices_to argument.
|
5 years ago |
zeyneloz
|
00035672a4
Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering.
|
5 years ago |
Matthias Kestenholz
|
ea60b7bc74
Removed redundant model field choices tests.
|
6 years ago |
Joshua Cannon
|
16a5a2a2c8
Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.
|
6 years ago |
Tim Graham
|
193c109327
Switched TestCase to SimpleTestCase where possible in Django's tests.
|
6 years ago |
Hasan Ramezani
|
6d4e5feb79
Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.
|
6 years ago |
orlnub123
|
21420096c4
Fixed #29247 -- Allowed blank model field choice to be defined in nested choices.
|
7 years ago |
Tim Graham
|
e35004966b
Moved tests for model Field.get_choices().
|
7 years ago |
Jon Dufresne
|
fa283067c9
Removed unnecessary empty parentheses in class definitions.
|
7 years ago |
chillaranand
|
fb0f987f7d
Fixed #27914 -- Added support for nested classes in Field.deconstruct()/__repr__().
|
7 years ago |
Tim Graham
|
a9874d48b1
Fixed #28188 -- Fixed crash when pickling model fields.
|
8 years ago |
Kapil Garg
|
7e09fa7f51
Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields with choices.
|
8 years ago |
Tim Graham
|
bcf3532ede
Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.
|
8 years ago |
Morgan Aubert
|
ef889d5b10
Fixed #27599 -- Fixed Field.__str__() crash for fields not attached to models.
|
8 years ago |
Morgan Aubert
|
adb791fdcb
Moved test_field_ordering to the model_fields package.
|
8 years ago |
Jon Dufresne
|
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
8 years ago |
Tim Graham
|
3c1b572f18
Split model_fields tests into different files.
|
9 years ago |
Simon Charette
|
0223e213dd
Fixed #26186 -- Documented how app relative relationships of abstract models behave.
|
9 years ago |
Hasan
|
3d0dcd7f5a
Refs #26022 -- Used context manager version of assertRaises in tests.
|
9 years ago |
Simon Charette
|
bc7d201bdb
Fixed #25858 -- Bound abstract model application relative relationships.
|
9 years ago |
Simon Charette
|
a08fda2111
Fixed #25746 -- Isolated inlined test models registration.
|
9 years ago |