1
0

permissions.py 493 B

12345678910111213141516171819
  1. from django.contrib import admin
  2. from metaservicesynced.models import Permissions
  3. @admin.register(Permissions)
  4. class PermissionsAdmin(admin.ModelAdmin):
  5. list_display = (
  6. 'id',
  7. 'check_date',
  8. 'id_permissions',
  9. 'check_level',
  10. 'checked_by',
  11. 'user_id',
  12. 'status',
  13. 'ticket_status',
  14. 'id_metaservice',
  15. 'is_global',
  16. 'is_visible',
  17. )
  18. list_filter = ('check_date', 'checked_by', 'user_id', 'ticket_status')