コード例 #1
0
ファイル: __init__.py プロジェクト: stxnext/scrumbugz
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
コード例 #2
0
ファイル: __init__.py プロジェクト: stxnext/scrumbugz
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())
コード例 #3
0
ファイル: cron.py プロジェクト: Osmose/scrumbugz
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
コード例 #4
0
ファイル: cron.py プロジェクト: protohub/scrumbugz
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
コード例 #5
0
ファイル: models.py プロジェクト: protohub/scrumbugz
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
コード例 #6
0
ファイル: models.py プロジェクト: protohub/scrumbugz
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())