[Django]-Display the descriptive status of options

4👍

If you use choices, then you can use get_<fieldname>_display() in the template, like this:

{{ article.get_status_display }}
👤Ralf

Leave a comment