Stub views for all things job and event related.

This commit is contained in:
Michael DeHaan
2013-04-18 15:22:45 -04:00
parent 10adcf204d
commit d11405d089
3 changed files with 63 additions and 22 deletions

View File

@@ -744,14 +744,6 @@ class JobTemplate(CommonModel):
default=None,
on_delete=models.SET_NULL,
)
user = models.ForeignKey(
'auth.User',
related_name='job_templates',
blank=True,
null=True,
default=None,
on_delete=models.SET_NULL,
)
# project has one default playbook but really should have a list of playbooks and flags ...
@@ -820,12 +812,6 @@ class Job(CommonModel):
null=True,
on_delete=models.SET_NULL,
)
user = models.ForeignKey(
'auth.User',
related_name='jobs',
null=True,
on_delete=models.SET_NULL,
)
status = models.CharField(
max_length=20,
choices=STATUS_CHOICES,