summaryrefslogtreecommitdiff
path: root/tests/model_fields/tests.py
Commit message (Expand)AuthorAgeFilesLines
* Relaxed some query ordering assertions in various tests.Mariusz Felisiak2022-04-141-1/+1
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-93/+104
* Fixed #33441 -- Restored immutability of models.Field.__hash__().Adam Johnson2022-01-141-3/+8
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-141-1/+1
* Fixed #31750 -- Made models.Field equality compare models for inherited fields.Ryan Hiebert2020-09-091-0/+30
* Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ...Carlton Gibson2020-01-151-0/+13
* Fixed #30931 -- Restored ability to override Model.get_FIELD_display().Carlton Gibson2019-11-041-0/+10
* Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse relations...Dan Moore2019-10-231-0/+11
* Added tests for Field.get_choices()'s limit_choices_to argument.Dan Moore2019-10-231-0/+23
* Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to re...zeyneloz2019-08-151-2/+18
* Removed redundant model field choices tests.Matthias Kestenholz2019-03-231-0/+6
* Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.Joshua Cannon2019-01-301-1/+54
* Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham2018-11-271-1/+1
* Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.Hasan Ramezani2018-11-141-1/+35
* Fixed #29247 -- Allowed blank model field choice to be defined in nested choi...orlnub1232018-04-201-0/+13
* Moved tests for model Field.get_choices().Tim Graham2018-04-201-0/+14
* Removed unnecessary empty parentheses in class definitions.Jon Dufresne2017-06-261-1/+1
* Fixed #27914 -- Added support for nested classes in Field.deconstruct()/__rep...chillaranand2017-06-141-0/+14
* Fixed #28188 -- Fixed crash when pickling model fields.Tim Graham2017-05-111-0/+9
* Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields ...Kapil Garg2017-03-231-0/+6
* Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham2017-01-171-1/+1
* Fixed #27599 -- Fixed Field.__str__() crash for fields not attached to models.Morgan Aubert2016-12-141-2/+3
* Moved test_field_ordering to the model_fields package.Morgan Aubert2016-12-141-0/+10
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-3/+3
* Split model_fields tests into different files.Tim Graham2016-03-231-1054/+19
* Fixed #26186 -- Documented how app relative relationships of abstract models ...Simon Charette2016-02-291-21/+32
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-13/+26
* Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette2016-01-111-0/+43
* Fixed #25746 -- Isolated inlined test models registration.Simon Charette2016-01-061-1/+5
* Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance.Attila Tovt2015-12-051-0/+5
* Fixed #25767 -- Fixed data truncation possibility with Positive(Small)Integer...George Marshall2015-11-241-3/+29
* Fixed #24509 -- Added Expression support to SQLInsertCompilerAlex Hill2015-09-221-1/+6
* Fixed #24636 -- Added model field validation for decimal places and max digits.Iulia Chiriac2015-09-181-0/+18
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-5/+0
* Removed unused Field.get_flatchoices() method.Tim Graham2015-08-031-2/+2
* Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella2015-07-271-3/+3
* Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson2015-07-171-2/+12
* Fixed flake8 warnings on Python 3.Tim Graham2015-06-151-2/+3
* Fixed #24677 -- Made TextField.to_python() return a string.Rolo2015-06-041-0/+7
* Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne2015-06-021-1/+44
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-4/+4
* Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol2015-04-281-1/+1
* Fixed model_fields tests to use django TestCase.Jon Dufresne2015-04-151-4/+5
* Fixed #24215 -- Refactored lazy model operationsAlex Hill2015-03-251-25/+34
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-1/+1
* Fixed #24483 -- Prevented keepdb from breaking with generator choices.David Szotten2015-03-241-7/+0
* Fixed #24376 -- added verbose_name arg to UUIDFieldMichael Angeletti2015-02-211-1/+1
* Refs #24215 -- Prevented pending lookup pollution by abstract models.Simon Charette2015-02-121-5/+39
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-14/+14
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1