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:
parent
60d27fe7da
commit
ccd11c09c3
@ -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({})))
|
||||
|
Loading…
Reference in New Issue
Block a user