mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Implementation and testing of the organizations projects subresource.
This commit is contained in:
@@ -175,6 +175,10 @@ class Project(CommonModel):
|
||||
scm_type = models.CharField(max_length=64)
|
||||
default_playbook = models.CharField(max_length=1024)
|
||||
|
||||
def get_absolute_url(self):
|
||||
import lib.urls
|
||||
return reverse(lib.urls.views_ProjectsDetail, args=(self.pk,))
|
||||
|
||||
class Permission(CommonModel):
|
||||
'''
|
||||
A permission allows a user, project, or team to be able to use an inventory source.
|
||||
|
||||
Reference in New Issue
Block a user