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

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

src/i/w/iw.thumbs-1.2/iw/thumbs/application.py   iw.thumbs(Download)
# -*- coding: utf-8 -*-
from iw.thumbs.middleware import make_thumbs
from paste.urlparser import StaticURLParser
 
def make_thumbs_app(global_config, **kwargs):
    application = StaticURLParser(document_root,
                                  cache_max_age=cache_max_age)
    return make_thumbs(application, global_config, **kwargs)