django1/tests/model_fields
Tim Graham 5480fab290 [3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators.
CockroachDB also has them.
Backport of f59a2b7306 from master
2020-05-18 08:12:57 +02:00
..
4x8.png
8x4.png
__init__.py
models.py Fixed #12990, Refs #27694 -- Added JSONField model field. 2020-05-08 07:23:31 +02:00
test_autofield.py Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields. 2019-08-20 09:22:25 +02:00
test_binaryfield.py Refs #27804 -- Used subTest() in BinaryFieldTests.test_set_and_retrieve. 2019-06-07 06:04:56 +02:00
test_booleanfield.py Fixed #29227 -- Allowed BooleanField to be null=True. 2018-03-20 12:10:10 -04:00
test_charfield.py Replaced deprecated assertEquals() with assertEqual(). 2019-10-21 07:52:17 +02:00
test_datetimefield.py Removed DatabaseFeatures.supports_microsecond_precision. 2017-09-25 14:48:15 -04:00
test_decimalfield.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_durationfield.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_field_flags.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
test_filefield.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
test_filepathfield.py Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path. 2019-05-02 11:11:56 +02:00
test_floatfield.py Fixed #28393 -- Added helpful error messages for invalid AutoField/FloatField/IntegerField values. 2019-08-05 08:41:29 +02:00
test_foreignkey.py Fixed 31207 -- Prevented references to non-local remote fields in ForeignKey.to_field. 2020-01-31 10:19:12 +01: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 #21238 -- Fixed restoring attributes when pickling FileField and ImageField. 2020-01-09 09:37:59 +01:00
test_integerfield.py Fixed #30987 -- Added models.PositiveBigIntegerField. 2019-11-19 09:34:11 +01:00
test_jsonfield.py [3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators. 2020-05-18 08:12:57 +02: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 Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +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 Fixed random models_fields.test_uuid.TestQuerying failures. 2019-12-27 15:25:50 +01:00
tests.py Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices. 2020-01-15 15:35:22 +01:00