123456789101112131415161718192021222324252627282930 |
- from django.contrib import admin
- from dbsynce.models import Documents
- @admin.register(Documents)
- class DocumentsAdmin(admin.ModelAdmin):
- list_display = (
- 'id',
- 'check_date',
- 'check_level',
- 'expire_date',
- 'id_metaservice',
- 'requirements',
- 'status',
- 'ticket_status',
- 'datalink',
- 'doc_type',
- 'user_id',
- 'company_id',
- 'is_global',
- 'is_visible',
- 'checked_by',
- )
- list_filter = (
- 'check_date',
- 'expire_date',
- 'ticket_status',
- 'user_id',
- 'company_id',
- 'checked_by',
- )
|