Source

django-denormalize / test_project / test_project / testapp / models.py

Full commit
import inspect
from denormalize.tests.test_django import test_collections
from denormalize.backend.locmem import LocMemBackend

from test_models import *

class BookCollection(test_collections.BookCollection):
    model = Book

col = BookCollection()
backend = LocMemBackend(name='locmem')
backend.register(col)