mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Ability to list job templates. Related resources are not added.
This commit is contained in:
@@ -764,6 +764,11 @@ class JobTemplate(CommonModel):
|
||||
# --list
|
||||
# -- host <hostname>
|
||||
|
||||
def get_absolute_url(self):
|
||||
import lib.urls
|
||||
return reverse(lib.urls.views_JobTemplateDetail, args=(self.pk,))
|
||||
|
||||
|
||||
class Job(CommonModel):
|
||||
'''
|
||||
A job applies a project (with playbook) to an inventory source with a given
|
||||
|
||||
Reference in New Issue
Block a user