mirror of
https://github.com/Hopiu/django.git
synced 2026-04-12 02:51:10 +00:00
Fixed a typo (I guess).
This commit is contained in:
parent
e86aa83dc3
commit
474eeccb52
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue