Changes between Version 1 and Version 2 of Ticket #31721
- Timestamp:
- Jun 18, 2020, 3:47:39 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31721 – Description
v1 v2 7 7 8 8 class MyModel(forms.Model): 9 active = BooleanField()10 name = CharField(max_length=64, blank=True, null=True)9 active = models.BooleanField() 10 name = models.CharField(max_length=64, blank=True, null=True) 11 11 12 12 def all_required(field, **kwargs): … … 15 15 return formfield 16 16 17 class MyForm( models.ModelForm):17 class MyForm(forms.ModelForm): 18 18 formfield_callback = all_required 19 19