Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 313 Bytes
# -*- coding: utf-8 -*-
from django import forms
from cmsplugin_text_ng.models import TextNG
class PluginAddForm(forms.ModelForm):
class Meta:
fields = ('template',)
model = TextNG
class PluginEditForm(forms.ModelForm):
class Meta:
fields = ('body',)
model = TextNG
Something went wrong with that request. Please try again.