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

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

src/m/a/madcow-HEAD/contrib/django-memebot/gruntle/memebot/models.py   madcow(Download)
from django.db import models
 
from gruntle.memebot.fields import SerializedDataField, PickleField, AttributeManager, KeyValueManager
from gruntle.memebot.utils import blacklist, first, get_domain_from_url
from gruntle.memebot.utils.tzdatetime import tzdatetime
    publish_id = models.IntegerField(null=True, blank=True, default=None, unique=True)
    scanner = models.TextField(null=True, blank=True, default=None)
    attr_storage = PickleField(null=True, blank=True, default=None)
    attr = AttributeManager(storage_field='attr_storage')
 
    name = models.CharField(null=False, blank=False, max_length=64, unique=True)
    description = models.TextField(null=True, blank=True, default=None)
    value = PickleField(null=True, blank=True, default=None)
    data = KeyValueManager(key_field='name', val_field='value')