Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Expose internal enum field types? #108

Copy link
Copy link
@bckohan

Description

@bckohan
Issue body actions

EnumField will automatically trigger migrations when the underlying enum changes in such a way that the database needs alterations (mostly column size overflows).

Some users may want to more explicitly specify the enum type - say use EnumPositiveSmallIntegerField directly instead of relying on EnumField to resolve it.

EnumPositiveSmallIntegerField should still update check constraints automatically when necessary.

This may just involve adding these types to __all__ and documenting this usage...

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.