client.py 365 B

12345678910111213141516
  1. from django.contrib import admin
  2. from dbsynce.models import Client
  3. @admin.register(Client)
  4. class ClientAdmin(admin.ModelAdmin):
  5. list_display = (
  6. 'id',
  7. 'user',
  8. 'requirements',
  9. 'status',
  10. 'ticket_status',
  11. 'id_metaservice',
  12. 'is_global',
  13. 'is_visible',
  14. )
  15. list_filter = ('user', 'ticket_status')