views:

27

answers:

2

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?

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
+1  A: 

It's documented in the source, starting here.

Nick Johnson