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/d/j/django-cachepurge-0.3/django_cachepurge/middleware.py   django-cachepurge(Download)
# -*- coding: utf-8 -*-
from django.conf import settings
from django.core.urlresolvers import get_script_prefix
from django_cachepurge import clear_urls, get_urls
from django_cachepurge.utils import pruneAsync
                url_in_cache = "%s%s" % (cache, url)
 
                pruneAsync(url_in_cache)
 
        return response