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

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

src/e/p/epubtestweb-HEAD/testsuite-site/testsuite_app/models/testsuite.py   epubtestweb(Download)
from django.db import models
from common import SHORT_STRING
 
class TestSuiteManager(models.Manager):
    def get_most_recent_testsuite(self):
 
    # version is formatted as date-revision; e.g. 2013-01-01-5
    version_date = models.DateField(max_length = SHORT_STRING)
    version_revision = models.IntegerField()
 

src/e/p/epubtestweb-HEAD/testsuite-site/testsuite_app/models/test.py   epubtestweb(Download)
    parent_category = models.ForeignKey('Category')
    required = models.BooleanField()
    testid = models.CharField(max_length = common.SHORT_STRING)
    testsuite = models.ForeignKey('TestSuite')
    xhtml =  models.TextField()

src/e/p/epubtestweb-HEAD/testsuite-site/testsuite_app/models/reading_system.py   epubtestweb(Download)
        app_label= 'testsuite_app'
 
    locale = models.CharField(max_length = common.SHORT_STRING, null = True, blank = True)
    name = models.CharField(max_length = common.LONG_STRING, blank = False, null = False)
    operating_system = models.CharField(max_length = common.SHORT_STRING, blank = False, null = False)
    sdk_version = models.CharField(max_length = common.SHORT_STRING, null = True, blank = True)
    version = models.CharField(max_length = common.SHORT_STRING, blank = False, null = False)