Changes between Version 2 and Version 4 of Ticket #28950
- Timestamp:
- Dec 21, 2017, 4:29:01 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28950 – Description
v2 v4 2 2 3 3 {{{ 4 from django.contrib.postgres.fields import ArrayField 5 4 6 class Foo(models.Model): 5 ....7 field = models.CharField(max_length=200) 6 8 7 9 class Bar(models.Model): 8 10 foo = models.OneToOneField(Foo) 9 11 required_field = models.CharField(blank=False) 12 array_field = ArrayField(models.CharField(max_length=50, blank=true), blank=True, null=True) 10 13 }}} 11 14