views:

667

answers:

3

I'm writing an app using App Engine and Django. What Built-in Form Validation Does App Engine/Django Have? For example how can I verify that the user actually entered an integer and not a string?

+1  A: 

Django (as of 1.0) has a fairly detailed data validation framework for form fields. It's documented here

Harper Shelby
A: 

Django 0.96 which is included in AppEngine API uses oldforms (manipulators) library. The validation was performed in somewhat more complicated way. The documentation is available, though not so easily accessible.

zgoda
Actually, Django 0.96 supports newforms.
Nick Johnson
Oh, yes, in a very limited form.
zgoda
+2  A: 

App Engine bundles Django 0.96, which includes the 'newforms' form validation library. You can find documentation on that here. There's also an article on the App Engine site that details how to integrate Django's forms library with App Engine models.

Nick Johnson