You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
325 B
9 lines
325 B
|
13 years ago
|
from django.core import context_processors
|
||
|
|
from django.shortcuts import render_to_response
|
||
|
|
from django.template.context import RequestContext
|
||
|
|
|
||
|
|
|
||
|
|
def request_processor(request):
|
||
|
|
return render_to_response('context_processors/request_attrs.html',
|
||
|
|
RequestContext(request, {}, processors=[context_processors.request]))
|