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
2009-05-07 03:48:54
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
2009-05-07 10:02:06
Actually, Django 0.96 supports newforms.
Nick Johnson
2009-05-07 10:49:03
Oh, yes, in a very limited form.
zgoda
2009-05-07 12:35:52
+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
2009-05-07 10:51:17