mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 10:27:07 +00:00
12 lines
252 B
Python
12 lines
252 B
Python
from django.contrib import admin
|
|
|
|
from .models import Permission
|
|
|
|
|
|
@admin.register(Permission)
|
|
class PermissionAdmin(admin.ModelAdmin):
|
|
"""
|
|
Admin customisation for Permission
|
|
"""
|
|
list_display = ('type', 'model', 'field', 'description')
|