summaryrefslogtreecommitdiffstats
path: root/cms_ajax_text_plugin/models.py
blob: 5d17e0b49c3fd858661f2b76002c59f54ed57e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.db import models
from django.utils.translation import ugettext_lazy as _

from cmsplugin_text_wrapper.models import TextWrapper

class TextWithExtraArgs(TextWrapper):
    """
    Model for Text with args
    """
    args = models.CharField(max_length=256,
                            help_text=_(u'extra GET arguments to pass to included plugins'),
                            blank = True, null = True)