Fix the AtomicGroup name display in the admin interface.
Adds an invalid bool column and use the existing invalid model to avoid
problems when deleting from the django admin interface.
Signed-off-by: Gregory Smith <gps@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2918 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/scheduler/monitor_db.py b/scheduler/monitor_db.py
index 83df096..8993ca6 100644
--- a/scheduler/monitor_db.py
+++ b/scheduler/monitor_db.py
@@ -1978,7 +1978,8 @@
class AtomicGroup(DBObject):
_table_name = 'atomic_groups'
- _fields = ('id', 'name', 'description', 'max_number_of_machines')
+ _fields = ('id', 'name', 'description', 'max_number_of_machines',
+ 'invalid')
class Label(DBObject):