Commits

Matthew Schinckel committed 778803c

Added response to serializer.

Comments (0)

Files changed (1)

repose/serializers/json.py

 class JSONSerializer(BaseSerializer):
     content_type = 'application/json'
     
-    def serialize(self, form=None, request=None, **kwargs):
+    def serialize(self, form=None, request=None, response=None, **kwargs):
         data = pre_serialize_form(form)
         kwargs.pop('template_name', None)
         if settings.DEBUG: