Change label on a field in Django admin
class CategoryForm(forms.ModelForm):
    class Meta:
        fields = ['name', 'slug']
        labels = {
            'name': 'Category Name',
        }Written by lorden
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Python 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#

 
 
 
 
