from django import forms
from .models import Feedback

class FeedbackForm(forms.ModelForm):
    
    class Meta:
        model = Feedback
        fields = ('email', 'subject', 'message')

    def __init__(self, *args, **kwargs):
        super(FeedbackForm, self).__init__(*args, **kwargs)
        self.fields['email'].required = False
c410a2b35a68b3b7a979b7157023e4a45e5bd481
<mask token>

<mask token>


class FeedbackForm(forms.ModelForm):


    class Meta:
        model = Feedback
        fields = 'email', 'subject', 'message'
    <mask token>

<mask token>


class FeedbackForm(forms.ModelForm):


    class Meta:
        model = Feedback
        fields = 'email', 'subject', 'message'

    def __init__(self, *args, **kwargs):
        super(FeedbackForm, self).__init__(*args, **kwargs)
        self.fields['email'].required = False

from django import forms
from .models import Feedback


class FeedbackForm(forms.ModelForm):


    class Meta:
        model = Feedback
        fields = 'email', 'subject', 'message'

    def __init__(self, *args, **kwargs):
        super(FeedbackForm, self).__init__(*args, **kwargs)
        self.fields['email'].required = False

from django import forms
from .models import Feedback

class FeedbackForm(forms.ModelForm):
    
    class Meta:
        model = Feedback
        fields = ('email', 'subject', 'message')

    def __init__(self, *args, **kwargs):
        super(FeedbackForm, self).__init__(*args, **kwargs)
        self.fields['email'].required = False