# -*- coding: utf-8 -*-
from django import forms
from apps.faq.models import Question, QuestionCategory

class QuestionForm(forms.ModelForm):
    email = forms.EmailField(widget=forms.TextInput(attrs={'required':'required'}), required=True)
    name = forms.CharField(widget=forms.TextInput(attrs={'required':'required'}), required=True)
    question = forms.CharField(widget=forms.Textarea(attrs={'required':'required'}), required=True)

    class Meta:
        model = Question
        fields = ('name', 'email', 'question',)
af8f0074a28a5c8687862025f3bc2c7e8805d418
<mask token>

<mask token>


class QuestionForm(forms.ModelForm):
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        model = Question
        fields = 'name', 'email', 'question'

<mask token>


class QuestionForm(forms.ModelForm):
    email = forms.EmailField(widget=forms.TextInput(attrs={'required':
        'required'}), required=True)
    name = forms.CharField(widget=forms.TextInput(attrs={'required':
        'required'}), required=True)
    question = forms.CharField(widget=forms.Textarea(attrs={'required':
        'required'}), required=True)


    class Meta:
        model = Question
        fields = 'name', 'email', 'question'

from django import forms
from apps.faq.models import Question, QuestionCategory


class QuestionForm(forms.ModelForm):
    email = forms.EmailField(widget=forms.TextInput(attrs={'required':
        'required'}), required=True)
    name = forms.CharField(widget=forms.TextInput(attrs={'required':
        'required'}), required=True)
    question = forms.CharField(widget=forms.Textarea(attrs={'required':
        'required'}), required=True)


    class Meta:
        model = Question
        fields = 'name', 'email', 'question'

# -*- coding: utf-8 -*-
from django import forms
from apps.faq.models import Question, QuestionCategory

class QuestionForm(forms.ModelForm):
    email = forms.EmailField(widget=forms.TextInput(attrs={'required':'required'}), required=True)
    name = forms.CharField(widget=forms.TextInput(attrs={'required':'required'}), required=True)
    question = forms.CharField(widget=forms.Textarea(attrs={'required':'required'}), required=True)

    class Meta:
        model = Question
        fields = ('name', 'email', 'question',)