Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Django Enum 2.4.3 documentation
Django Enum 2.4.3 documentation

Contents:

  • Tutorials
    • Properties
    • Flags (BitFields)
  • How To
    • Use External Enums
    • Configure EnumFields
    • Use Flags (BitFields)
    • Use Forms
    • Integrate with …
    • Write Migrations
    • Use Enums in URLs
    • Use Django Admin
  • Performance
  • Eccentric Enums
  • Reference
    • Fields
    • Choices
    • Filters
    • Form Fields
    • Widgets
    • Query
    • DRF
    • URLS
    • Utils
  • Change Log
Back to top
View this page
Edit this page

Use Django Admin¶

EnumField will mostly just work in the Django admin. There is one issue where enums that are not hash equivalent will not render value labels correctly in the ModelAdmin list_display.

Next
Performance
Previous
Use Enums in URLs
Copyright © Copyright 2022-2026 Brian Kohan
Made with Sphinx and @pradyunsg's Furo