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/d/j/django-mediafiles-HEAD/mediafiles/templatetags/mediafiles_tags.py   django-mediafiles(Download)
from django.utils.safestring import mark_safe
 
from mediafiles.settings import MEDIAFILES_IMAGES, MEDIAFILES_PYGMENTS_STYLE
 
 
        content_type = path.content_type
 
        if content_type in MEDIAFILES_IMAGES:
            rendered = render_to_string('mediafiles/wrapper/image.html',
                                        context)