mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Removed default empty content argument from HttpResponse calls.
This commit is contained in:
parent
959d0c078a
commit
c492fdfd24
9 changed files with 15 additions and 15 deletions
|
@ -22,7 +22,7 @@ def model_view(request):
|
|||
def create_model_instance(request):
|
||||
person = Person(name='emily')
|
||||
person.save()
|
||||
return HttpResponse('')
|
||||
return HttpResponse()
|
||||
|
||||
|
||||
def environ_view(request):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue