diff options
author | 2008-10-04 17:07:27 +0530 | |
---|---|---|
committer | 2008-10-04 17:07:27 +0530 | |
commit | 9ec3994031da853e56d8c03ca496119a912547d4 (patch) | |
tree | 29f38c2eb4ce28a9db123875e753f1853ba4d132 | |
parent | Update TODO (diff) | |
download | autotua-9ec3994031da853e56d8c03ca496119a912547d4.tar.gz autotua-9ec3994031da853e56d8c03ca496119a912547d4.tar.bz2 autotua-9ec3994031da853e56d8c03ca496119a912547d4.zip |
Fix runtime bugs in models.py w.r.t displaying
* _damn_ I need to have a test suite for the master.
-rw-r--r-- | master/master/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/master/master/models.py b/master/master/models.py index 7f4163c..06926f9 100644 --- a/master/master/models.py +++ b/master/master/models.py @@ -33,7 +33,7 @@ class Stage(models.Model): unique_together = ['name', 'provider'] def __unicode__(self): - return '%s (%s)' % (self.stage, self.provider.name) + return '%s (%s)' % (self.name, self.provider.name) class Arch(models.Model): # Specific arch i686, g4, ~amd64, core32 etc. @@ -49,7 +49,7 @@ class Arch(models.Model): unique_together = ['specific', 'provider'] def __unicode__(self): - return '%s (%s)' % (self.arch, self.provider.name) + return '%s:%s (%s)' % (self.generic, self.specific, self.provider.name) class Release(models.Model): # Release number/identifier @@ -61,7 +61,7 @@ class Release(models.Model): unique_together = ['name', 'provider'] def __unicode__(self): - return '%s (%s)' % (self.release, self.provider.name) + return '%s (%s)' % (self.name, self.provider.name) class Mirror(models.Model): # Mirror owner |