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

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

src/t/u/turrentine-0.0.4/turrentine/models.py   turrentine(Download)
class FileUpload(ChangeableContent):
    """
    Simple wrapper model for a CMS-uploaded file.
    """
    file = models.FileField(upload_to=turrentine_settings.TURRENTINE_UPLOAD_DIR)
 
    def __unicode__(self):
        upload_prefix = turrentine_settings.TURRENTINE_UPLOAD_DIR + '/'