Hi,
use a normal form and do it like this:
shipping_character = forms.CharField(error_messages={'required': 'Your
game character name'}, label='Charakter Name')
dr.NO schrieb:
> Hi,
>
> How can i display field name using verbose_name not just field name in
> validation of ModelForm ?
>
> For egz
Hi,
How can i display field name using verbose_name not just field name in
validation of ModelForm ?
For egz.
shipping_character = models.CharField('Your game character name
',max_length=50) <-- field from model
if it's empty validatior error is shipping_character - field is
required
an
2 matches
Mail list logo