# -*- 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', 'logo', 'description']}),
    ]
    
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', 'logo', 'description']}), ]

admin.site.register(Group, GroupAdmin)

更新 modules groups/admins.py, 修正 PEP8 警告