1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Flake8 fix -- correct number of newlines between top level definitions

This commit is contained in:
Alex Gaynor 2013-11-08 09:03:59 -08:00
parent 60d27fe7da
commit ccd11c09c3

View File

@ -9,6 +9,7 @@ def get_person(request, pk):
person = get_object_or_404(Person, pk=pk)
return HttpResponse(person.name)
def no_template_used(request):
template = loader.get_template_from_string("This is a string-based template")
return HttpResponse(template.render(Context({})))