Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django on Google App Engine

How much of a pain is it to run a Django App on App Engine? Also, does the Datastore work as-is with Django?

like image 344
MathOldTimer Avatar asked Jun 18 '09 08:06

MathOldTimer


People also ask

Does Google App Engine support Django?

You can deploy a PostgreSQL or MySQL database that's managed and scaled by Google, and supported by Django. You can deploy Django with a Cloud Spanner backend using the python-spanner-django database backend.

Can a Django app run on Android?

A Django app that adds iOS and Android app upload functionality to the Django admin interface. Provides a mobile optimized HTML fronted for clients to download Ad Hoc mobile applications using their iOS or Android devices.


1 Answers

I spent some time trying to answer the same question... it seems to me that the most difficult thing to transfer to GAE are django's models... in the sense that they require various modifications and rethinking, mainly because GAE's backend is not a standard relational DB, but google's BigTable. I found a nice intro to this here:

http://www.youtube.com/watch?v=rRCx9e38yr8

Anyways, it's worth downloading one of those 'patches' and have a go with it!

For me the best solution is the 'app-engine-patch'. I downloaded the sample project and it worked straightaway! (Mind that you need to have GAE's SDK installed separately) A killer-feature for me is the fact that the django-admin and many other classic django functionalities have been ported too!!!

http://code.google.com/p/app-engine-patch/

The documentation is still quite minimal in my opinion, but it's good enough to get you going. It'll help you to skim though the official GAE docs though!

like image 136
magicrebirth Avatar answered Oct 15 '22 22:10

magicrebirth