views:

232

answers:

0

The clever folks behind the app-engine-patch project have essentially enabled all the fun stuff of Django, including the admin, but without using Django's ORM.

From their website:

The most important change is that you have to use Google's Model class because the development model is too different from Django (at least with Django's current API).

This is essentially what I want to do, but use Google's Protocol buffers as the data transport layer through RPC.

Using the Person message in their addressbook.proto example, I essentially want to do this:

from django.contrib import admin
from myrpc.models import Person

class PersonAdmin(admin.ModelAdmin):
  list_display = ['id', 'name', 'email']

admin.site.register(Person, PersonAdmin)