Changes between Initial Version and Version 2 of Ticket #23834
- Timestamp:
- Nov 15, 2014, 8:18:31 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23834
- Property Version 1.7 → master
-
Ticket #23834 – Description
initial v2 1 1 Considering this class (from tests.postgres_tests.models): 2 2 3 {{{ 3 4 class NullableIntegerArrayModel(models.Model): 4 5 field = ArrayField(models.IntegerField(), blank=True, null=True) 6 }}} 5 7 6 8 When I save it directly after initialization it will result in an error … … 10 12 11 13 This test will reproduce the error 12 14 {{{ 13 15 def test_default_null(self): 14 16 instance = NullableIntegerArrayModel() … … 18 20 self.assertEqual(instance.field, loaded.field) 19 21 22 }}}