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

All Samples(34)  |  Call(0)  |  Derive(34)  |  Import(0)

src/f/e/FeinCMS-1.9.3/feincms/module/extensions/translations.py   FeinCMS(Download)
class Extension(extensions.Extension):
 
    def handle_model(self):
        cls = self.model
 

src/f/e/feincms-HEAD/feincms/module/extensions/translations.py   feincms(Download)
class Extension(extensions.Extension):
 
    def handle_model(self):
        cls = self.model
 

src/f/e/FeinCMS-1.9.3/feincms/module/page/extensions/titles.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class('_content_title', models.TextField(
            _('content title'),
            blank=True,

src/f/e/FeinCMS-1.9.3/feincms/module/page/extensions/symlinks.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class('symlinked_page', models.ForeignKey(
            'self',
            blank=True,

src/f/e/FeinCMS-1.9.3/feincms/module/page/extensions/sites.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class(
            'site',
            models.ForeignKey(

src/f/e/FeinCMS-1.9.3/feincms/module/page/extensions/relatedpages.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class('related_pages', models.ManyToManyField(
            settings.FEINCMS_DEFAULT_PAGE_MODEL,
            blank=True,

src/f/e/FeinCMS-1.9.3/feincms/module/page/extensions/excerpt.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class(
            'excerpt',
            models.TextField(

src/f/e/FeinCMS-1.9.3/feincms/module/blog/extensions/translations.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        primary_language = settings.LANGUAGES[0][0]
 
        self.model.add_to_class(

src/f/e/FeinCMS-1.9.3/feincms/module/blog/extensions/tags.py   FeinCMS(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class('tags', TagField(_('tags')))
 
        # use another name for the tag descriptor See

src/f/e/feincms-HEAD/feincms/module/page/extensions/titles.py   feincms(Download)
class Extension(extensions.Extension):
    def handle_model(self):
        self.model.add_to_class('_content_title', models.TextField(
            _('content title'),
            blank=True,

  1 | 2 | 3 | 4  Next