You don't tell which version of the django forms you use. You link to
a django 1.0 form page but django 0.96 does it a bit different.

In your form subclass define the following functions and raise the same
raise forms.ValidationError(u"You need to pick a start date and time
in the future.")
if needed

class MyForm(Form):
  def clean_startdate(self):
    # return cleaned version of start date or raise Validation error
    pass
  def clean_enddate(self):
    # return cleaned version of end date or raise Validation error
    pass

2011/2/2 Jachin Rupe <jachin.r...@gmail.com>:
> One more thing, if I just throw a validation error, that works fine, but it
> doesn't put the error message on both of the fields.
> raise forms.ValidationError(u"You need to pick a start date and time in the
> future.")

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to