Django lays out the mapping of Django model data types to Django form widgets nicely here, but I can't find a similar mapping for Google App Engine data types. For instance what does a db.TextProperty()
map too and how would I know that?
views:
27answers:
2
A:
It's not a straight answer, but it seems that you can use that list you provided as a reference for the mapping. According to the doc of djangoforms from GAE:
In most cases, you can use db.djangoforms.ModelForm in the same manner as the Django framework.
You can also infer from the list of Property Classes in how each one of them map to a corresponding form field.
Thierry Lam
2009-12-07 04:35:05