~milo/linaro-ci-dashboard/refactor-job-schedule

« back to all changes in this revision

Viewing changes to dashboard/frontend/models/loop.py

  • Committer: Milo Casagrande
  • Date: 2012-08-24 14:10:59 UTC
  • Revision ID: milo@ubuntu.com-20120824141059-t87n0o4qchbktfs5
Refactored kernel build to call job schedule.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    is_official = models.BooleanField(default=False,
34
34
                                      verbose_name='Build is official')
35
35
 
 
36
    # List of fields to be excluded by default from the base64 encoded config.
 
37
    # If a subclass needs different fields, it is necessary to override this
 
38
    # variable.
 
39
    EXCLUDE_LIST = ['id', 'name', 'server', 'loop_ptr']
 
40
 
36
41
    def __init__(self, *args, **kwargs):
37
42
        self.log = Logger.getClassLogger(self)
38
43
        super(Loop, self).__init__(*args, **kwargs)