1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-29 20:02:59 +00:00
nk20/apps/permission/admin.py

12 lines
252 B
Python
Raw Normal View History

2019-09-18 12:26:42 +00:00
from django.contrib import admin
2019-09-18 14:40:21 +00:00
from .models import Permission
@admin.register(Permission)
class PermissionAdmin(admin.ModelAdmin):
"""
Admin customisation for Permission
"""
2020-02-09 17:30:37 +00:00
list_display = ('type', 'model', 'field', 'description')