开发者

Django Admin site and Forms on AppEngine

i'm developing a web site hosted on AppEngine and wanted to use Django for some tasks. I've read these two answers:

Django on Google App Engine Django and App Engine

But those are pretty old, and my question is a 开发者_如何学Golittle more specific. I've taken a look at django-nonrel and seems good, but i've not used it and cant affirm anything.

So, the question is. Can I use the Admin site and the forms from Django with this package? If not, do you know any other patch that allow me to use them?

Thank you very much!


If you use django-nonrel, then you can use the Django admin site but it will be limited to the types of queries you can do on app engine. I personally found it easier to code my own simple admin interfaces that to type to make things work in Django Admin.

Regarding forms, regular Django Forms and ModelForms work quite well.


Yes, you can (both Admin and forms).

(definitely) :)

I installed djangoappengine 3 months ago and work on it daily under Eclipse (Windows).

If you have some expericence with Django it should be easy, I faced much more problems with Eclipse integration, but nothing unfeseable (even for a newbie - as I'm still).

You just have to start from here:

http://www.allbuttonspressed.com/projects/djangoappengine#installation

Be careful anyway: there are some limitations due to the Datastore capabilities.

A lot of work has been done to circumvent them (dbindexer, specifics decorators...) and if you're planning to develop an app from scratch you will find your way (keeping " noSQL " in mind) but if you plan to migrate a plain vanilla SQL app, it may cause you some pain...

Last point: instances handling Django and all its libraries may be long to start with App Engine ; an issue to consider:

http://code.google.com/p/googleappengine/issues/detail?id=1695

Hope it helps.

Florent

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜