mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
parent
b3d2ccb5bf
commit
89f40e3624
1050 changed files with 0 additions and 0 deletions
8
tests/context_processors/views.py
Normal file
8
tests/context_processors/views.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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]))
|
||||
Loading…
Add table
Add a link
Reference in a new issue