bigjason/django-choices — pull request #3 by dokterbob (2012-04-23 21:33:03+00:00)
Title: Support for earlier Python release

Currently, django-choices uses the `OrderedDict` type, which AFAIK is only available from Python 2.7 onwards. As many (production) environments still use 2.6 or earlier releases, it would make a lot of sense not to use this newer data structure (for now) - or at least use some kind of compatibility wrapper.

My current approach is to use Django's `SortedDict` type, but I have not tested it properly (`setup.py test` finds no problems though). Should give some feedback on whether or not this works pretty soon - but feel free to test beforehand.