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

All Samples(5)  |  Call(0)  |  Derive(2)  |  Import(3)

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
 
 
class TrackerContentProxy(ContentProxy):
    def _fetch_content_type_counts(self):
        """
        If an object with an empty _ct_inventory is encountered, compute all
        the content types currently used on that object and save the list in

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
 
 
class TrackerContentProxy(ContentProxy):
    def _fetch_content_type_counts(self):
        """
        If an object with an empty _ct_inventory is encountered, compute all
        the content types currently used on that object and save the list in

src/f/e/feincms-HEAD/tests/testapp/tests/test_page.py   feincms(Download)
 
from feincms.context_processors import add_page_if_missing
from feincms.models import ContentProxy
from feincms.module.medialibrary.models import Category, MediaFile
from feincms.module.page import processors