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. > > 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 > and i want it to be > Your game character name - filed is required > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.