Ticket #16235: ticket16235.diff

File ticket16235.diff, 499 bytes (added by emdonahu@…, 13 years ago)
  • django/test/client.py

    diff --git a/django/test/client.py b/django/test/client.py
    index 0af68a5..5cbc0ca 100644
    a b class RequestFactory(object):  
    241241                charset = match.group(1)
    242242            else:
    243243                charset = settings.DEFAULT_CHARSET
    244             post_data = smart_str(urlencode(data, doseq=True), encoding=charset)
     244            post_data = smart_str(data, encoding=charset)
    245245
    246246        parsed = urlparse(path)
    247247        r = {
Back to Top