from django_mongoengine.mongo_auth.models import User, Group
from django_mongoengine import mongo_admin as admin
from core.models import *


@admin.register(Group)
class GroupAdmin(admin.DocumentAdmin):
    pass


@admin.register(User)
class UserAdmin(admin.DocumentAdmin):
     list_display = ['first_name', 'last_name']
     search_fields = ['first_name', 'last_name']
