class PupilForm(forms.ModelForm): class Meta: model = Pupil fields = ['student_number',] labels = {'student_number': "Student Number",} help_texts = {'student_number': "Unique identifier for the student",}