SDKリリースノート1.7.3で、GAEがDjango1.4をサポートしていることを読みました。Google独自のモデルがあるため、GAEではDjangoモデルを使用できないことを知っています。しかし、Django Form API、特にテンプレートを使用してフォームを表示する場合はどうでしょうか?SDK 1.7.4で使用できますか?
2 に答える
4
Yes, of course you can use the form API and display it in the template. But what you can't do with plain Django on GAE is build a modelform automatically from a db.Model or ndb.Model. You have to use plain forms, defining the fields and setting the data back to the model entity manually.
于 2013-01-10T21:02:17.533 に答える
-1
djangoモデルフォームを使用することはできませんが、GAEは、db.Modelベースのモデルに同様の機能を提供するフォームライブラリを提供します。
https://developers.google.com/appengine/articles/djangoforms
ndbに相当するものがあるかどうかはわかりません。
于 2013-01-10T23:40:02.860 に答える