walidacja formularza

This commit is contained in:
Hokan 2019-01-22 20:28:25 +01:00
parent e36992bc3f
commit 6eb98b1b22
2 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ class ClientForm(ModelForm):
class Meta: class Meta:
model = Client model = Client
fields = '__all__' fields = '__all__'
labels = { labels = {
'id_number': _('Numer dowodu: '), 'id_number': 'Numer dowodu: ',
'name': _('Imię: '), 'name': 'Imię: ',
'surname': _('Nazwisko: ') 'surname': 'Nazwisko: '
} }