This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
from cms.plugins.text.models import Text
|
|
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')
|