1. kerzum
  2. cmsplugin-faq-2

Source

cmsplugin-faq-2 / cmsplugin_faq / forms.py

from django.forms.models import ModelForm
from models import FaqEntry
from django import forms


class FaqEntryForm(ModelForm):
    body = forms.CharField()
    
    class Meta:
        model = FaqEntry
        exclude = ('page', 'position', 'placeholder', 'language', 'plugin_type')