Changes between Initial Version and Version 1 of Ticket #34716
- Timestamp:
 - Jul 17, 2023, 5:01:57 AM (2 years ago)
 
Legend:
- Unmodified
 - Added
 - Removed
 - Modified
 
- 
      
Ticket #34716
- Property Triage Stage Unreviewed → Accepted
 - Property Summary Using subclass method as a callable for a field's default value results in wrong reference in the corresponding migration → Class methods from subclasses cannot be used as Field.default.
 
 - 
      
Ticket #34716 – Description
initial v1 16 16 return [cls.BASIC] 17 17 18 capabilities = ArrayField(19 models.CharField(choices=Capability.choices, max_length=30, blank=True),20 null=True,21 default=Capability.default22 )18 capabilities = ArrayField( 19 models.CharField(choices=Capability.choices, max_length=30, blank=True), 20 null=True, 21 default=Capability.default 22 ) 23 23 24 24