github coleifer/peewee 4.5.1

3 hours ago

Couple little things for EnumField.

  • EnumField and IntEnumField validate member value types (str and int respectively) at field construction.
  • EnumField and IntEnumField default choices to (value, name) pairs derived from the enum.
  • Fix #3075, migration generation for EnumField. Generated migrations will emit the storage field type (e.g. IntegerField) rather than EnumField().

View commits

1357414699373

Don't miss a new peewee release

NewReleases is sending notifications on new releases.