1234567891011121314151617181920 |
- from django.contrib import admin
- from dbsynce.models import Provider
- @admin.register(Provider)
- class ProviderAdmin(admin.ModelAdmin):
- list_display = (
- 'id',
- 'type',
- 'company_id',
- 'user_id',
- 'id_metaservice',
- 'requirements',
- 'status',
- 'ticket_status',
- 'location_type',
- 'default_location',
- 'is_global',
- 'is_visible',
- )
- list_filter = ('company_id', 'user_id', 'ticket_status')
|