14👍
✅
It would probably be best to extend Django’s Form
class, override the default, and extend all of your forms from it, like so:
from django import forms
class MySiteForm(forms.Form):
def __init__(self, *args, **kwargs):
kwargs.setdefault('label_suffix', '')
super(MySiteForm, self).__init__(*args, **kwargs)
...
class RegistrationForm(MySiteForm):
username = forms.CharField(max_length=255)
...
Source:stackexchange.com