mirror of https://gitlab.crans.org/bde/nk20
[permission] Permission admin view
This commit is contained in:
parent
2a4ab09753
commit
d826dc9d20
|
@ -1,3 +1,11 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from .models import Permission
|
||||
|
||||
|
||||
@admin.register(Permission)
|
||||
class PermissionAdmin(admin.ModelAdmin):
|
||||
"""
|
||||
Admin customisation for Permission
|
||||
"""
|
||||
list_display = ('type', 'model', 'field', 'permission')
|
||||
|
|
Loading…
Reference in New Issue