summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index 30681543..45cb481c 100644
--- a/main/models.py
+++ b/main/models.py
@@ -94,11 +94,10 @@ class MirrorUrl(models.Model):
verbose_name = 'Mirror URL'
class MirrorRsync(models.Model):
- hostname = models.CharField(max_length=255)
ip = models.CharField(max_length=24)
mirror = models.ForeignKey(Mirror, related_name="rsync_ips")
def __unicode__(self):
- return "%s (%s)" % (self.ip, self.hostname)
+ return "%s" % (self.ip)
class Meta:
verbose_name = 'Mirror Rsync IP'