Django template label_suffix -


i trying extract label_suffix in django template.

the term label_suffix defined here in docs:

i have tried:

{{ field.label_suffix }} {{ field.label_tag.label_suffix }} 

where field fields of django form class.

nothing seems work. there no error, doesn't print anything. there way extract suffix in template?

if {{ field.label_tag }} prints form label suffix wanted extract suffix.

{{ field.label_tag|cut:field.label }} 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -