from django.shortcuts import render
def render_test_context(request, template_name):
request.test_context += ' - 4. process_template_response'
# print(request.test_context)
return render(request, template_name)
from my_app.my_render import render_test_context
def test_context(request):
request.test_context += ' - 3. view'
# print(request.test_context)
return render_test_context(request, 'my_app/test_context.html')