Overriding the default class attribute using django-crispy-forms
Overriding the default class attribute using django-crispy-forms Question: I am currently learning how to use django crispy forms and can’t figure out this issue. I am using it alongside bootstrap5. I have the following form : class CommentForm(forms.ModelForm): class Meta : model = Comments fields = ["comment_content"] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.helper = …