Commit 7ebae321 authored by Jérome Perrin's avatar Jérome Perrin

OrderedDict for py2

parent 24bf3539
from collections import OrderedDict
if default_sub_field_property_dict is None: if default_sub_field_property_dict is None:
default_sub_field_property_dict = {} default_sub_field_property_dict = {}
# Define a dictionary where we store the subfields to display. # Define a dictionary where we store the subfields to display.
sub_field_dict = {} sub_field_dict = OrderedDict()
split_depth = 1 split_depth = 1
# Maximum size of the MultiListField # Maximum size of the MultiListField
maximum_list_size = 5 maximum_list_size = 5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment