Using RPC-like protocol buffers as a backend for Django, instead of MySQL or SQLite

The smart people behind the app-engine-patch essentially included all of Django's fun stuff, including the admin, but without using Django ORM.

On its website:

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

This is essentially what I want to do, but use the Google Protocol Buffers as the layer of data transfer through RPC.

Using the Person message in my addressbook.proto example, I really 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)
+3
1

app-engine-patch , , , , , . , Django Admin.

Django Admin API Google App Engine . .

Django-norel, Django ORM GAE, , .

, GAE , Django 1.2 API. . : , Django

Django Admin. .

0

Source: https://habr.com/ru/post/1724427/


All Articles