how to display fixed dropdown in django admin?

Posted by FurtiveFelon on Stack Overflow See other posts from Stack Overflow or by FurtiveFelon
Published on 2010-06-17T17:32:22Z Indexed on 2010/06/17 17:33 UTC
Read the original article Hit count: 266

Filed under:
|

Hi all,

I would like to display priority information in a drop down. Currently i am using a integer field to store the priority, but i would like to display high/medium/low instead of letting user type in a priority.

A way to approximate this is to use a Priority database which stores 3 elements, 1:high, 2:medium, 3:low, but it seems like an overkill.

Any easier way would be much appreciated!

Jason

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin