diff options
-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 |