* You are viewing the archive for October, 2008
appengine_django, BaseModel, and SearchableModel
I have been learning how to write Django code for Google App Engine. (Django is a Python framework, which Google chose to incorporate into Google App Engine. Django is cool.)
Google has a few Django customizations, which they package in “google-app-engine-django“. For example, the base class that your Django models use is supposed to change to BaseModel, a django helper front-end to “db.Model”, a Google Bigtable database model.
Today I wanted to implement search for one of my Django models. Google has an article about setting up search using SearchableQuery, and some discussion posts about how to use ext.search … Continue Reading
Messing with Django and Google App Engine
I’m trying to figure out how to make Django 0.96 work with Google App Engine. Here are the resources I’ve found so far:
- Django’s 0.96 documentation (since the latest Django version is 1.0, and Google App Engine supports 0.96)
- Running Django on Google App Engine, which I wish I hadn’t seen until after I’d read
- Using the Google App Engine Helper for Django.
I’ve found a few issues so far, that weren’t explicitly mentioned in these notes…
- All models should use BaseModel from the django helper (this is stated)
- All Python module names are relative to the root directory (e.g. myapp.views) rather than … Continue Reading