cms.plugins.text.forms: 9 total statements, 0.0% covered

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

  1. from cms.plugins.text.models import Text
  2. from cms.utils.html import clean_html
  3. from django import forms
  4. from django.forms.models import ModelForm
  5. class TextForm(ModelForm):
  6. body = forms.CharField()
  7. class Meta:
  8. model = Text
  9. exclude = ('page', 'position', 'placeholder', 'language', 'plugin_type')