Commit c6240f45 by Stephan Groß

removed empty row

parent 76db7d4c
......@@ -219,7 +219,6 @@ Edit the `snippet/views.py` file, and add the following.
"""
An HttpResponse that renders it's content into JSON.
"""
def __init__(self, data, **kwargs):
content = JSONRenderer().render(data)
kwargs['content_type'] = 'application/json'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment