How to make entry.category to be instance of CategoryProxy? See code for details:
class Category(models.Model): pass class Entry(models.Model): category
Define a property category on EntryProxy that looks up the CategoryProxy by its id:
category
class EntryProxy(Entry): @property def category(self): cid = super(EntryProxy, self).category.id return CategoryProxy.objects.get(id=cid) class Meta: proxy = True