# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django.contrib import admin

from .models import Group

class GroupAdmin(admin.ModelAdmin):
    fieldsets = [
        ('Group Info',       {'fields': ['name', 'fullname', 'creator',]}),
    ]
    
admin.site.register(Group, GroupAdmin)

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django.contrib import admin

from reversion.admin import VersionAdmin

from .models import Group

class GroupAdmin(VersionAdmin):
    fieldsets = [
        ('Group Info',       {'fields': ['name', 'fullname', 'creator',]}),
    ]
    
admin.site.register(Group, GroupAdmin)

更新 admin Groups, 將 Groups 列入 reversion 監測的範圍