Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.