Ticket #736: mvd_admin_fix.patch

File mvd_admin_fix.patch, 688 bytes (added by django@…, 19 years ago)

Minor supplementary fix for meta/init.py, which had been retrieving internals from the old MultiValueDict

  • django/core/meta/__init__.py

     
    15671567        # [('0', {'id': ['940'], 'choice': ['This is the first choice']}),
    15681568        #  ('1', {'id': ['941'], 'choice': ['This is the second choice']}),
    15691569        #  ('2', {'id': [''], 'choice': ['']})]
    1570         obj_list = DotExpandedDict(new_data.data)[rel_opts.object_name.lower()].items()
     1570        obj_list = DotExpandedDict(dict(new_data))[rel_opts.object_name.lower()].items()
    15711571        obj_list.sort(lambda x, y: cmp(int(x[0]), int(y[0])))
    15721572        params = {}
Back to Top