Closed scattenlaeufer closed 5 years ago
I like this, some intentions become much clearer, but a few questions...
Ah, ok, nevermind. Reading more of it I got it. I don't quite like that their enum doesn't work with the enums from the standard library and initially I thought that everything could be provided by adding two methods to our enums, but at least the _transitions
seem to be something that regular enums don't provide. Everything else would have been only a matter of taste too.
Sadly
django-enumfield
'sEnumField
is only a wrapper for Django's standardIntegerField
.For the long term future it might be an idea to write our own wrapper for
IntegerField
, that works with Python'senum
module.