Changes between Version 1 and Version 2 of Ticket #31721


Ignore:
Timestamp:
Jun 18, 2020, 3:47:39 PM (4 years ago)
Author:
Klaas-Jan Gorter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31721 – Description

    v1 v2  
    77
    88class 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)
    1111   
    1212def all_required(field, **kwargs):
     
    1515    return formfield
    1616
    17 class MyForm(models.ModelForm):
     17class MyForm(forms.ModelForm):
    1818    formfield_callback = all_required
    1919
Back to Top