tcms.testplans.admin module

class tcms.testplans.admin.PlanTypeAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

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

Bases: tcms.core.history.ReadOnlyHistoryAdmin

Does not allow adding new or changing plans.

actions = ['delete_selected']
add_view(request, form_url='', extra_context=None)[source]
change_view(request, object_id, form_url='', extra_context=None)[source]
media
response_delete(request, obj_display, obj_id)[source]

Determine the HttpResponse for the delete_view stage.