summaryrefslogtreecommitdiff
path: root/tests/model_fields/tests.py
AgeCommit message (Expand)Author
2023-09-14Fixed #24561 -- Added support for callables on model fields' choices.Natalia
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ChoiceField's...Nick Pope
2023-08-22Added tests for model field's choices iterator/iterable values.Natalia
2023-03-21Fixed #34388 -- Allowed using choice enumeration types directly on model and ...T. Franzel
2022-04-14Relaxed some query ordering assertions in various tests.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-14Fixed #33441 -- Restored immutability of models.Field.__hash__().Adam Johnson
2021-01-14Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak
2020-09-09Fixed #31750 -- Made models.Field equality compare models for inherited fields.Ryan Hiebert
2020-01-15Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ...Carlton Gibson
2019-11-04Fixed #30931 -- Restored ability to override Model.get_FIELD_display().Carlton Gibson
2019-10-23Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse relations...Dan Moore
2019-10-23Added tests for Field.get_choices()'s limit_choices_to argument.Dan Moore
2019-08-15Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to re...zeyneloz
2019-03-23Removed redundant model field choices tests.Matthias Kestenholz
2019-01-30Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.Joshua Cannon
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-11-14Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.Hasan Ramezani
2018-04-20Fixed #29247 -- Allowed blank model field choice to be defined in nested choi...orlnub123
2018-04-20Moved tests for model Field.get_choices().Tim Graham
2017-06-26Removed unnecessary empty parentheses in class definitions.Jon Dufresne
2017-06-14Fixed #27914 -- Added support for nested classes in Field.deconstruct()/__rep...chillaranand
2017-05-11Fixed #28188 -- Fixed crash when pickling model fields.Tim Graham
2017-03-23Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields ...Kapil Garg
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
2016-12-14Fixed #27599 -- Fixed Field.__str__() crash for fields not attached to models.Morgan Aubert
2016-12-14Moved test_field_ordering to the model_fields package.Morgan Aubert
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-03-23Split model_fields tests into different files.Tim Graham
2016-02-29Fixed #26186 -- Documented how app relative relationships of abstract models ...Simon Charette
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-11Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
2015-12-05Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance.Attila Tovt
2015-11-24Fixed #25767 -- Fixed data truncation possibility with Positive(Small)Integer...George Marshall
2015-09-22Fixed #24509 -- Added Expression support to SQLInsertCompilerAlex Hill
2015-09-18Fixed #24636 -- Added model field validation for decimal places and max digits.Iulia Chiriac
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-03Removed unused Field.get_flatchoices() method.Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
2015-06-15Fixed flake8 warnings on Python 3.Tim Graham
2015-06-04Fixed #24677 -- Made TextField.to_python() return a string.Rolo
2015-06-02Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-28Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol
2015-04-15Fixed model_fields tests to use django TestCase.Jon Dufresne
2015-03-25Fixed #24215 -- Refactored lazy model operationsAlex Hill
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-03-24Fixed #24483 -- Prevented keepdb from breaking with generator choices.David Szotten