Source

djangocong_2011 / core / models.py

Full commit
from datatrans.utils import register
from basic.blog.models import Category, Post


class CategoryTranslation(object):
    fields = ('title', )


class PostTranslation(object):
    fields = ('title', 'body', 'tease')


register(Category, CategoryTranslation)
register(Post, PostTranslation)