diff --git a/gas/admin.py b/gas/admin.py new file mode 100644 index 0000000..cf30150 --- /dev/null +++ b/gas/admin.py @@ -0,0 +1,9 @@ +from django.contrib import admin + +from . import models + + +@admin.register(models.UserRole) +class UserRoleAdmin(admin.ModelAdmin): + list_display = ('user', 'role') + list_filter = ('role',)