Commit cab34761 authored by Okhin's avatar Okhin
Browse files

Fixing the syntax error in the JSON Mixin issue #22

parent a954f234
......@@ -143,7 +143,7 @@ def sendverifymail(service,to,body):
class JSONMixin(object):
def get(self, request, *args, **kwargs):
return http.HttpResponse(serielizers.serialize('json', self.get_queryset())
return http.HttpResponse(serializers.serialize('json', self.get_queryset()))
class AddForm(FormView, MultipleObjectMixin):
template = 'index.html'
Supports Markdown
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