okfxpg
Last Updated: May 13, 2016
·
3.777K
· lorden

Change label on a field in Django admin

class CategoryForm(forms.ModelForm):
    class Meta:
        fields = ['name', 'slug']
        labels = {
            'name': 'Category Name',
        }