An enum implementation for Django forms and models