I’d like to eliminate the colon (:) that is automatically added to form labels across my entire Django project. I’d like to avoid adding label_suffix='' to every form in the project.
Is there a simple way to override it everywhere?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It would probably be best to extend Django’s
Formclass, override the default, and extend all of your forms from it, like so: