I created the following class:
from django import forms
class FormDefault(forms.Form):
def __init__(self, *args, **kwargs):
super(FormDefault, self).__init__(*args, **kwargs)
for field_name, field in self.fields.items():...
asked by
04.08.2018 / 04:59