Import socketio service work and updates to documentation and setup procedures

This commit is contained in:
Matthew Jones
2014-04-16 15:26:52 -04:00
parent b66ddfc155
commit 69583a1b07
4 changed files with 98 additions and 1 deletions

View File

@@ -104,7 +104,9 @@ class Schedule(CommonModel):
self.dtend = make_aware(datetime.datetime.strptime(until_date, "%Y%m%dT%H%M%SZ"), get_default_timezone())
if 'count' in self.rrule.lower():
self.dtend = future_rs[-1]
self.unified_job_template.update_computed_fields()
from awx.main.signals import ignore_inventory_computed_fields
with ignore_inventory_computed_fields():
self.unified_job_template.update_computed_fields()
def save(self, *args, **kwargs):
self.update_computed_fields()