overriding admin field label content in django -


I am using administrator forms for CRYOUD operation. However, I want to add some characters to the labels generated by the administrator. For example, * when required in the area *. How can I complete it?

I can directly add the admin code to the code and add * (in this case, the file contrib / admin / helpers.py ) but it is not correctly . How can I do this?

There is no "good" way to do this, then your options will be CSS (add background IMG) , Subclass form, template tag, or template modification. Here are some good answers to this last question:



Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -