1
0
mirror of https://github.com/django/django.git synced 2025-03-06 07:22:32 +00:00

Fixed a typo (I guess).

This commit is contained in:
Florian Apolloner 2014-02-13 17:36:53 +01:00
parent e86aa83dc3
commit 474eeccb52

View File

@ -252,7 +252,7 @@ class RequestFactory(object):
"Construct a generic request object."
return WSGIRequest(self._base_environ(**request))
def _encode_data(self, data, content_type, ):
def _encode_data(self, data, content_type):
if content_type is MULTIPART_CONTENT:
return encode_multipart(BOUNDARY, data)
else: