from django.contrib import admin
from django.utils.translation import gettext_lazy as _

from users.imports.admin import BaseModelAdmin as Parent
from users.models import RoleModel


@admin.register(RoleModel)
class RoleModelAdmin(Parent):
    list_display = [
        'title',
        'id',
    ]
    list_display_links = [
        'id',
        'title',
    ]
    fieldsets = [
        (_('Info'), {
            'fields': [
                'title',
            ]}),
    ]
