mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
[permission] Permission admin view
This commit is contained in:
parent
2a4ab09753
commit
d826dc9d20
@ -1,3 +1,11 @@
|
|||||||
from django.contrib import admin
|
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
Block a user