summaryrefslogtreecommitdiff
path: root/django/core/serializers/json.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/serializers/json.py')
-rw-r--r--django/core/serializers/json.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/core/serializers/json.py b/django/core/serializers/json.py
index b82c0a0ec7..b8119f54d4 100644
--- a/django/core/serializers/json.py
+++ b/django/core/serializers/json.py
@@ -18,9 +18,6 @@ class Serializer(PythonSerializer):
internal_use_only = False
def end_serialization(self):
- self.options.pop('stream', None)
- self.options.pop('fields', None)
- self.options.pop('use_natural_keys', None)
simplejson.dump(self.objects, self.stream, cls=DjangoJSONEncoder, **self.options)
def getvalue(self):