Commits

Matthew Schinckel  committed 778803c

Added response to serializer.

  • Participants
  • Parent commits fce7f31

Comments (0)

Files changed (1)

File 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: