0

I am new to Django and Appengine. I found that Django 1.2 version is supported by Google Appengine. Does it mean that Django 1.2 comes with the installation of Google Appengine SDK? Or should we install djangoappengine

Any pointers, experiences and tutorials on running Django on Appengine is appreciated.

Thanks in advance.

18bytes
  • 5,951
  • 7
  • 42
  • 69

3 Answers3

3

I think djangoappengine would be a good start. It seems like an active project. Please also note that Google offers SQL backend as of October 2011 so whether you need SQL or NoSQL, you should be able to use Django for it.

General note: If you are new to both Django and GAE, you probably should start with learning Django on your local computer running a development server that comes with it. Once you get familiar with how Django works in general you can dig into GAE etc.

googler
  • 104
  • 2
2

You can try django-nonrel, we use it professionally and it works well on App Engine.

Can Bascil
  • 938
  • 8
  • 16
  • Does django-nonrel works out of the box without any modifications for GoogleAppengine? – 18bytes Dec 25 '11 at 21:12
  • 1
    Yeah if you make use of [django-appengine](http://www.allbuttonspressed.com/projects/djangoappengine) module, it should work out fine. – Can Bascil Dec 25 '11 at 21:46
  • Thanks its promising. I am learning Django right now, i will try django-appengine. As you are using professionally, did you face any major gotchas with django-appengine? – 18bytes Dec 25 '11 at 22:25
  • 1
    The most important part is M2M relationships. You cannot use ManyToMany fields of Django on App Engine, you have to make use of [ListFields](http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#ListProperty) (and [djangotoolbox](http://www.allbuttonspressed.com/projects/djangotoolbox)). – Can Bascil Dec 26 '11 at 12:25
0

You may just want to start with this tutorial as it is the official and recommended way for Django project on app engine.

Note that previously there some hacks and patches, but at the moment those are deprecated and above tutorial should be just enough to get you started.

Senthil Kumaran
  • 54,681
  • 14
  • 94
  • 131