Konstantin
Konstantin

Reputation: 25339

Django on GAE: use_library vs Django-nonrel

I am really new to the world of App Engine development and I want to start with a test project on Django and GAE. I've done some research and found out that there are two major ways to use Django in my app on GAE.

Please tell about pros and cons of each way. Is there anything better than django-nonrel if i will decide to distribute Django code with my project?

Upvotes: 2

Views: 389

Answers (2)

Torsten Engelbrecht
Torsten Engelbrecht

Reputation: 13496

When using django-nonrel you can use all Django features (including admin, auth, models, queries). I don't have a complete list of django modules which are either not working or partly not working in app engine. If you use the Django version via use_library you have to be careful with app engine's limitations (use their model api, their auth via google accounts and so on).

Upvotes: 2

Nick Johnson
Nick Johnson

Reputation: 101149

It's not a matter of two different ways to use Django - it's two different versions of Django. App Engine comes bundled with versions 0.96, 1.0 and 1.1 of Django, unmodified from the mainline release. Django-nonrel is a branch of Django, which adds support for App Engine for the database backend.

If you're writing a new app, and you want to use Django for the whole app, including the models, you should use Django-nonrel.

Upvotes: 6

Related Questions