Django

Code

Ticket #7233: picklable_QueryDict.diff

File picklable_QueryDict.diff, 0.5 kB (added by rajeshdhawan, 2 years ago)

Simpler patch to make QueryDict? unpickle friendly

  • django/http/__init__.py

    old new  
    128128    Values retrieved from this class are converted from the given encoding 
    129129    (DEFAULT_CHARSET by default) to unicode. 
    130130    """ 
     131 
     132    _mutable = True 
     133    encoding = None 
     134 
    131135    def __init__(self, query_string, mutable=False, encoding=None): 
    132136        MultiValueDict.__init__(self) 
    133137        if not encoding: