~milo/linaro-ci-dashboard/xml-to-dict

« back to all changes in this revision

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

  • Committer: Milo Casagrande
  • Date: 2012-09-07 12:45:10 UTC
  • Revision ID: milo@ubuntu.com-20120907124510-ud8n5irdd8m1fpm4
Added note, fixed some tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        app_label = 'android_textfield_loop'
25
25
 
26
26
    # Fields we want in the XML for chaining.
27
 
    # TODO if we insert the 'type' field, it does not show up.
 
27
    # XXX to have the 'type' field, it has to be added 'by hand'. See note on
 
28
    # Loop.json.
28
29
    XML_INCLUDE_LIST = ['name', 'is_official', 'is_restricted']
29
30
 
30
31
    def save(self, *args, **kwargs):