Generated: Wed 2013-03-13 10:33 CET
Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/cms/plugins/text/forms.py
Stats: 0 executed, 5 missed, 4 excluded, 2 ignored
from cms.plugins.text.models import Text
from cms.utils.html import clean_html
from django import forms
from django.forms.models import ModelForm
class TextForm(ModelForm):
body = forms.CharField()
class Meta:
model = Text
exclude = ('page', 'position', 'placeholder', 'language', 'plugin_type')