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/djopping-HEAD/context_processors.py   Djopping(Download)
from superalikal.djopping.models import ProductType, Order, OrderItem, get_non_empty_product_types as get_categories
from superalikal.settings import MEDIA_URL
from flash.models import Flash
 
def categories(request):
def flash(request):
    flash = request.flash
    request.flash = Flash()
    if 'flash' in request.session:        
        flash.update(request.session['flash'])