tcms.core.ajax module

Shared functions for plan/case/run.

Most of these functions are use for Ajax.

class tcms.core.ajax.UpdateTestCaseActorsView(**kwargs)[source]

Bases: django.views.generic.base.View

Updates TestCase.default_tester_id or TestCase.reviewer_id. Called from the front-end.

dispatch(request, *args, **kwargs)
http_method_names = ['post']
post(request)[source]
tcms.core.ajax.say_no(error_msg)[source]
tcms.core.ajax.say_yes()[source]
tcms.core.ajax.tags(request)[source]

Get tags for TestPlan or TestCase. Also counts how many times the same tag has been used for different objects. Used in TP -> Tags and TC -> Tags tabs!