tcms.management.admin module

class tcms.management.admin.AttachmentAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('attachment_id', 'file_name', 'submitter', 'description', 'create_date', 'mime_type')
media
search_fields = ('file_name', 'attachment_id')
class tcms.management.admin.BuildAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('build_id', 'name', 'product', 'is_active')
list_filter = ('product',)
media
search_fields = ('name', 'build_id')
class tcms.management.admin.ClassificationAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('id', 'name', 'description')
media
search_fields = ('name', 'id')
class tcms.management.admin.ComponentAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

get_queryset(request)[source]

Return a QuerySet of all model instances that can be edited by the admin site. This is used by changelist_view.

list_display = ('id', 'name', 'product', 'initial_owner', 'description')
list_filter = ('product',)
media
search_fields = ('name', 'id')
class tcms.management.admin.PriorityAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('id', 'value', 'sortkey', 'is_active')
list_filter = ('is_active',)
media
search_fields = ('value', 'id')
class tcms.management.admin.ProductsAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('id', 'name', 'classification', 'description')
list_filter = ('id', 'name', 'classification')
media
search_fields = ('name', 'id')
class tcms.management.admin.TagAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('pk', 'name')
media
class tcms.management.admin.VersionAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ('id', 'product', 'value')
list_filter = ('product',)
media
search_fields = ('value', 'id')