use the new django migrations instead of south
replace SortedDict by OrderedDict