Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 9, 2010 20:44:04

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Errors in modelForm


Where can I find any info about how to customize errors messages in
modelforms? I know how to do it in Form, but have no clue how to make
it in modelForm.

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Dec. 9, 2010 22:29:23

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Errors in modelForm


I found that I can do it when I declare form based on model. But then I
must rewrite all other errors and requirements.
Is there any better way?

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support