hzdg/django-enumfields — pull request #19 by Tim-Erwin (2014-10-16 06:31:33+00:00)
Title: remove choices from kwargs in field deconstruct

Since we are adding a choices kwarg to the base field (in EnumFieldMixin.__init__) we need to remove it when deconstructing. Otherwise django tries (and fails) to serialize the Enums and pass the choices as arguments when reconstructing.