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

All Samples(23)  |  Call(0)  |  Derive(12)  |  Import(11)

src/f/e/feincms-HEAD/feincms/module/blog/models.py   feincms(Download)
from feincms.admin import item_editor
from feincms.management.checker import check_database_schema
from feincms.models import Base
 
 
class Entry(Base):
    published = models.BooleanField(_('published'), default=False)
    title = models.CharField(
        _('title'), max_length=100,
        help_text=_('This is used for the generated navigation too.'))

src/f/e/FeinCMS-1.9.3/feincms/module/blog/models.py   FeinCMS(Download)
from feincms.admin import item_editor
from feincms.management.checker import check_database_schema
from feincms.models import Base
 
 
class Entry(Base):
    published = models.BooleanField(_('published'), default=False)
    title = models.CharField(
        _('title'), max_length=100,
        help_text=_('This is used for the generated navigation too.'))

src/z/i/zipfelchappe-0.3.3/zipfelchappe/translations/models.py   zipfelchappe(Download)
from django.utils.translation import ugettext_lazy as _
 
from feincms.models import Base
 
 
class ProjectTranslation(Base):

src/f/e/feincms-articles-1.1.1/articles/bases.py   feincms-articles(Download)
    from feincm.admin.editor import ItemEditor
from feincms.content.application import models as app_models
from feincms.models import Base
from feincms.module.mixins import ContentModelMixin
from feincms.utils.managers import ActiveAwareContentManagerMixin
class BaseArticle(ContentModelMixin, Base):
    active = models.BooleanField(_('active'), default=True)
 
    title = models.CharField(_('title'), max_length=255)
    slug = models.SlugField(

src/i/n/incuna-news-1.3/news/models.py   incuna-news(Download)
from tagging.fields import TagField
 
from feincms.models import Base
from feincms.content.medialibrary.models import MediaFileContent
from feincms.content.richtext.models import RichTextContent
class Entry(Base):
    pub_date = models.DateTimeField(default=datetime.datetime.now)
    headline = models.CharField(max_length=255)
    slug = AutoSlugField(max_length=255,populate_from="headline",help_text='This will be automatically generated from the name',unique=True,editable=True)
    category = models.ForeignKey(NewsCategory, null=True, blank=True)

src/f/e/feincms-pages-api-0.1.0/pages/models.py   feincms-pages-api(Download)
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms.models import Base
from orderable.models import Orderable
from rest_framework.reverse import reverse
 
 
class Page(Base):

src/f/e/feincms-articles-HEAD/articles/models.py   feincms-articles(Download)
 
from feincms.content.application import models as app_models
from feincms.models import Base
from feincms.utils.managers import ActiveAwareContentManagerMixin
 
class Article(Base):
    active = models.BooleanField(_('active'), default=True)
 
    title = models.CharField(_('title'), max_length=255)
    slug = models.SlugField(_('slug'), max_length=255, help_text=_('This will be automatically generated from the name'), unique=True, editable=True)

src/z/i/zipfelchappe-0.3.3/zipfelchappe/models.py   zipfelchappe(Download)
from django.utils.timezone import now
 
from feincms.models import Base
from feincms.management.checker import check_database_schema as check_db_schema
from feincms.utils.queryset_transform import TransformQuerySet
class Project(Base, TranslatedMixin):
    """ The heart of zipfelchappe. Projects are time limited and crowdfunded
        ideas that either get financed by reaching a minimum goal or not.
        Money will only be deducted from backers if the goal is reached. """
 

src/p/e/pennyblack-0.3.5/pennyblack/models/newsletter.py   pennyblack(Download)
from feincms.admin import item_editor
from feincms.management.checker import check_database_schema
from feincms.models import Base
from feincms.utils import copy_model_instance
 
class Newsletter(Base):
    """
    A newsletter with subject and content
    can contain multiple jobs with mails to send
    """

src/p/e/pennyblack-HEAD/pennyblack/models/newsletter.py   pennyblack(Download)
from feincms.admin import item_editor
from feincms.management.checker import check_database_schema
from feincms.models import Base
from feincms.utils import copy_model_instance
 
class Newsletter(Base):
    """
    A newsletter with subject and content
    can contain multiple jobs with mails to send
    """

  1 | 2  Next