Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assert Call NameLoad NameLoad Str NameLoad Assign NameStore Dict Str Str AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Dict Str NameLoad decorator_list
N/A __future__ unicode_literals django __version__ django.conf settings shop.models.customer CustomerModel customer N/A N/A request N/A N/A N/A 
    Add the customer to the RequestContext
     N/A msg The request object does not contain a customer. Edit your MIDDLEWARE_CLASSES setting to insert 'shop.middlerware.CustomerMiddleware'. N/A N/A hasattr request customer msg N/A context N/A customer site_header N/A request customer N/A N/A N/A settings SHOP_APP_LABEL capitalize N/A N/A N/A request user is_staff N/A N/A N/A N/A N/A N/A context update customer N/A N/A N/A CustomerModel objects get pk N/A N/A request session N/A emulate_user_id N/A N/A N/A N/A N/A CustomerModel DoesNotExist KeyError AttributeError N/A N/A N/A context N/A version N/A N/A request N/A N/A N/A 
    Add version to context, since in Django-1.9 the path for jquery changed
     N/A N/A DJANGO_VERSION __version__ N/A