Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/f/e/FeinCMS-1.9.3/feincms/module/extensions/ct_tracker.py   FeinCMS(Download)
 
from feincms import extensions
from feincms.contrib.fields import JSONField
from feincms.models import ContentProxy
 
    def handle_model(self):
        self.model.add_to_class('_ct_inventory', JSONField(
            _('content types'), editable=False, blank=True, null=True))
        self.model.content_proxy_class = TrackerContentProxy
 

src/f/e/feincms-HEAD/feincms/module/extensions/ct_tracker.py   feincms(Download)
 
from feincms import extensions
from feincms.contrib.fields import JSONField
from feincms.models import ContentProxy
 
    def handle_model(self):
        self.model.add_to_class('_ct_inventory', JSONField(
            _('content types'), editable=False, blank=True, null=True))
        self.model.content_proxy_class = TrackerContentProxy
 

src/f/e/FeinCMS-1.9.3/feincms/content/application/models.py   FeinCMS(Download)
 
from feincms.admin.item_editor import ItemEditorForm
from feincms.contrib.fields import JSONField
from feincms.translations import short_language_code
from feincms.utils import get_object
class ApplicationContent(models.Model):
    #: parameters is used to serialize instance-specific data which will be
    # provided to the view code. This allows customization (e.g. "Embed
    # MyBlogApp for blog <slug>")
    parameters = JSONField(null=True, editable=False)

src/f/e/feincms-HEAD/feincms/content/application/models.py   feincms(Download)
 
from feincms.admin.item_editor import ItemEditorForm
from feincms.contrib.fields import JSONField
from feincms.translations import short_language_code
from feincms.utils import get_object
class ApplicationContent(models.Model):
    #: parameters is used to serialize instance-specific data which will be
    # provided to the view code. This allows customization (e.g. "Embed
    # MyBlogApp for blog <slug>")
    parameters = JSONField(null=True, editable=False)