1
0
mirror of https://github.com/django/django.git synced 2025-02-01 21:29:24 +00:00

Silenced a flake8 warning.

../tests/shortcuts/views.py:45:1: E302 expected 2 blank lines, found 1
This commit is contained in:
Berker Peksag 2014-11-22 21:39:06 +02:00
parent 7331788300
commit da2a35cf9e

View File

@ -42,6 +42,7 @@ def render_to_response_with_context_instance_misuse(request):
# Incorrect -- context_instance should be passed as a keyword argument.
return render_to_response('shortcuts/render_test.html', context_instance)
def render_view(request):
return render(request, 'shortcuts/render_test.html', {
'foo': 'FOO',