def get_form_field(self):
    '\n        Returns an instance of the form field class, used for constructing the\n        filter form for a report.\n        '
    return self.form_field_class(required=(self.required and (not self.filter_set)), widget=self.form_field_widget, label=self.label)
Returns an instance of the form field class, used for constructing the
filter form for a report.
def get_form_field(self):
    '\n        Returns an instance of the form field class, used for constructing the\n        filter form for a report.\n        '
    return self.form_field_class(required=(self.required and (not self.filter_set)), widget=self.form_field_widget, label=self.label)