[Answer]-Inheriting a django form with validation

1👍

✅

In the end of method clean you should return cleaned_data.

And you can inherit your INeedForm and it’s behaviour:

class NewForm(INeedForm):
    # If you need inherit Meta
    class Meta(INeedForm.Meta):
        pass

Leave a comment