django/tests/model_fields
Joshua Cannon 16a5a2a2c8 Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty. 2019-01-30 13:44:10 -05:00
..
4x8.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
8x4.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty. 2019-01-30 13:44:10 -05:00
test_binaryfield.py Added tests for using bytearray with BinaryField and corrected docs. 2018-10-01 09:16:16 -04:00
test_booleanfield.py Fixed #29227 -- Allowed BooleanField to be null=True. 2018-03-20 12:10:10 -04:00
test_charfield.py Moved tests for model Field.get_choices(). 2018-04-20 11:05:25 -04:00
test_datetimefield.py Removed DatabaseFeatures.supports_microsecond_precision. 2017-09-25 14:48:15 -04:00
test_decimalfield.py Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField. 2017-12-12 21:57:41 -10:00
test_durationfield.py Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
test_field_flags.py Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
test_filefield.py Refs #27777 -- Improved docs/added test for File context manager change. 2017-05-31 21:02:58 -04:00
test_floatfield.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_foreignkey.py Fixed #27595 -- Made ForeignKey.get_col() follow target chains. 2018-10-22 09:49:34 -04:00
test_genericipaddressfield.py Fixed #26557 -- Converted empty strings to None when saving GenericIPAddressField. 2016-04-29 10:11:49 -04:00
test_imagefield.py Fixed hanging indentation in various code. 2018-03-16 10:54:34 +01:00
test_integerfield.py Fixed #27979 -- Made MySQL raise IntegrityError rather than OperationalError when saving negative numbers in PositiveInteger fields. 2017-09-29 15:20:32 -04:00
test_manytomanyfield.py Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
test_promises.py Refs #23919 -- Removed six.<various>_types usage 2017-01-18 20:18:46 +01:00
test_slugfield.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_textfield.py Fixed #28319 -- Made TextField with choices use a Select widget. 2017-06-17 08:23:32 -04:00
test_uuid.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00
tests.py Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty. 2019-01-30 13:44:10 -05:00