Changes between Version 2 and Version 4 of Ticket #31124
- Timestamp:
- Dec 27, 2019, 5:16:48 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31124
- Property Resolution needsinfo
- Property Status closed → new
- Property Cc added
- Property Triage Stage Unreviewed → Accepted
- Property Version 2.2 → 3.0
-
Ticket #31124 – Description
v2 v4 8 8 {{{ 9 9 class A(models.Model): 10 foo_choice = Choices(("A","output1"),("B","output2"))10 foo_choice = [("A","output1"),("B","output2")] 11 11 field_foo = models.CharField(max_length=254,choices=foo_choice) 12 12 class Meta: 13 abstract :True13 abstract = True 14 14 15 15 class B(A): 16 foo_choice = Choices(("A","output1"),("B","output2"),("C","output3"))16 foo_choice = [("A","output1"),("B","output2"),("C","output3")] 17 17 field_foo = models.CharField(max_length=254,choices=foo_choice) 18 18 }}}