Did I find the right examples for you? yes no

All Samples(178)  |  Call(113)  |  Derive(0)  |  Import(65)

src/n/s/nscms-0.5.8/nscms/base/content/models.py   nscms(Download)
 
from ckeditor.fields import RichTextField
from django_extensions.db.fields import CreationDateTimeField,\
    ModificationDateTimeField, AutoSlugField
 
        overwrite=True, max_length=255,
        editable=False)
    created = CreationDateTimeField(_('created'), db_index=True)
    modified = ModificationDateTimeField(_('modified'), db_index=True)
 
        _('slug'), populate_from='name', overwrite=True,
        max_length=255, editable=False)
    created = CreationDateTimeField(_('created'))
    modified = ModificationDateTimeField(_('modified'))
 
class CreationModificationModel(models.Model):
    created = CreationDateTimeField(_('created'), db_index=True)
    modified = ModificationDateTimeField(_('modified'), db_index=True)
 
    class Meta:
 
    created = CreationDateTimeField(
        verbose_name=_('created'),
        db_index=True)
 

src/d/j/django-simple-cms-HEAD/simple_cms/models.py   django-simple-cms(Download)
from django.conf import settings
 
from django_extensions.db.fields import CreationDateTimeField
from django_extensions.db.fields import ModificationDateTimeField
from django_extensions.db.fields import AutoSlugField
    Provides created/updated_at, and active/inactive status.
    """
    created_at = CreationDateTimeField()
    updated_at = ModificationDateTimeField()
    active = models.BooleanField(default=True, verbose_name="published")
class Article(TextMixin, UrlMixin, CommonAbstractModel):
    title = models.CharField(max_length=255)
    slug = AutoSlugField(editable=True, populate_from='title')
    # default to now
    post_date = CreationDateTimeField(editable=True, help_text='Display Date')#models.DateTimeField(auto_now_add=True, editable=True, blank=True, help_text='Display Date')
    target = models.CharField(max_length=255, blank=True, default='', help_text='eg. open link in "_blank" window', choices=TARGET_CHOICES)
    display_title = models.BooleanField(default=True, help_text='Display title on list view?')
    publish_start = CreationDateTimeField(editable=True, help_text='Show active content starting at this time.')
    publish_end = models.DateTimeField(null=True, blank=True, help_text='Stop publishing active content at the time.')
    objects = PublishedManager()

src/c/o/coop-agenda-0.1.3/coop_agenda/models.py   coop-agenda(Download)
class Calendar(models.Model):
    title = models.CharField(_('title'), blank=True, max_length=250)
    description = models.TextField(_(u'description'), blank=True)
    slug = exfields.AutoSlugField(populate_from='title')
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    description = models.TextField(_(u'description'), blank=True)
    slug = exfields.AutoSlugField(populate_from='title')
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
    event_type = models.ForeignKey(EventType, verbose_name=_('event type'))
    end_time = models.DateTimeField(_('end time'))
    event = models.ForeignKey(Event, verbose_name=_('event'), editable=False)
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
 

src/o/n/onepercentclub-site-HEAD/apps/projects/models.py   onepercentclub-site(Download)
from django.utils.translation import ugettext as _
from django.conf import settings
from django_extensions.db.fields import ModificationDateTimeField, CreationDateTimeField
from djchoices import DjangoChoices, ChoiceItem
from sorl.thumbnail import ImageField
    project = models.ForeignKey('projects.Project')
    phase = models.CharField(_("phase"), max_length=20, choices=ProjectPhases.choices)
    created = CreationDateTimeField(_("created"), help_text=_("When this phase was reached."))
 
    class Meta:
    partner_organization = models.ForeignKey('projects.PartnerOrganization', null=True, blank=True)
 
    created = CreationDateTimeField(_("created"), help_text=_("When this project was created."))
    updated = ModificationDateTimeField()
 
    status = models.CharField(_("status"), max_length=20, choices=PitchStatuses.choices)
 
    created = CreationDateTimeField(_("created"), help_text=_("When this project was created."))
    updated = ModificationDateTimeField(_('updated'))
 
    status = models.CharField(_("status"), max_length=20, choices=PlanStatuses.choices)
 
    created = CreationDateTimeField(_("created"), help_text=_("When this project was created."))
    updated = ModificationDateTimeField(_('updated'))
 

src/d/j/django-coop-0.7.3/coop/exchange/models.py   django-coop(Download)
    title = models.CharField(_('title'), blank=True, max_length=250)
    description = models.TextField(_(u'description'), blank=True)
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
    uuid = exfields.UUIDField()  # nécessaire pour URI ?

src/o/n/onepercentclub-site-HEAD/apps/fundraisers/models.py   onepercentclub-site(Download)
from django.utils.translation import ugettext as _
 
from django_extensions.db.fields import ModificationDateTimeField, CreationDateTimeField
from sorl.thumbnail import ImageField
 
    deadline = models.DateTimeField(null=True)
 
    created = CreationDateTimeField(_("created"), help_text=_("When this fundraiser was created."))
    updated = ModificationDateTimeField(_('updated'))
    deleted = models.DateTimeField(_('deleted'), blank=True, null=True)

src/d/j/django-coop-HEAD/coop/exchange/models.py   django-coop(Download)
    title = models.CharField(_('title'), blank=True, max_length=250)
    description = models.TextField(_(u'description'), blank=True)
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
    uuid = exfields.UUIDField()  # nécessaire pour URI ?

src/o/n/onepercentclub-site-HEAD/apps/tasks/models.py   onepercentclub-site(Download)
from django.utils.translation import ugettext as _
 
from django_extensions.db.fields import ModificationDateTimeField, CreationDateTimeField
from djchoices.choices import DjangoChoices, ChoiceItem
from taggit_autocomplete_modified.managers import TaggableManagerAutocomplete as TaggableManager
    project = models.ForeignKey('projects.Project')
    author = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='author')
    created = CreationDateTimeField(_("created"), help_text=_("When this task was created?"))
    updated = ModificationDateTimeField(_("updated"))
 
    comment = models.TextField(_("Comment"), help_text=_("Comment by task owner."), blank=True)
 
    created = CreationDateTimeField(_("created"))
    updated = ModificationDateTimeField(_("updated"))
 
    title = models.CharField(max_length=255)
    file = models.FileField(_("file"), upload_to='task_files/')
    created = CreationDateTimeField(_("created"))
    updated = ModificationDateTimeField(_("Updated"))
 

src/d/j/django-coop-0.7.3/coop/org/models.py   django-coop(Download)
                                        null=True, blank=True)
 
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
    #confirmed = models.BooleanField(default=False, verbose_name=_(u'confirmed by the target organization'))

src/d/j/django-coop-HEAD/coop/org/models.py   django-coop(Download)
                                        null=True, blank=True)
 
    created = exfields.CreationDateTimeField(_(u'created'), null=True)
    modified = exfields.ModificationDateTimeField(_(u'modified'), null=True)
    #confirmed = models.BooleanField(default=False, verbose_name=_(u'confirmed by the target organization'))

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next