# -*- coding: utf-8 -*-
from django.contrib import admin

from linguist.admin import ModelTranslationAdminMixin

from .models import Post, Category


class PostAdmin(admin.ModelAdmin, ModelTranslationAdminMixin):
    list_display = ('title', 'body', 'created_at')


class CategoryAdmin(admin.ModelAdmin, ModelTranslationAdminMixin):
    list_display = ('name', 'created_at')


admin.site.register(Post, PostAdmin)
admin.site.register(Category, CategoryAdmin)

@@ -99,21 +99,16 @@
 ionAdmin
-Mixin
 %0A%0Afrom .
@@ -154,34 +154,16 @@
 stAdmin(
-admin.ModelAdmin, 
 ModelTra
@@ -167,37 +167,32 @@
 TranslationAdmin
-Mixin
 ):%0A    list_disp
@@ -255,26 +255,8 @@
 min(
-admin.ModelAdmin, 
 Mode
@@ -276,13 +276,8 @@
 dmin
-Mixin
 ):%0A 

Update example admin.