summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-06 17:42:51 +0100
committerDan McGee <dan@archlinux.org>2010-03-06 17:42:51 +0100
commit65990ccebebd0e7b8beab488a486ef4cab739271 (patch)
tree85c96b30ce34a9ff81fb1113ce1c97063ebf3108 /main/models.py
parente485ab531051f41601cd1108114be5bb487082e9 (diff)
downloadarchweb-65990ccebebd0e7b8beab488a486ef4cab739271.tar.gz
archweb-65990ccebebd0e7b8beab488a486ef4cab739271.tar.xz
Make mirror notes a text field
Rather than a short 255 character field. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 45cb481..a214ad7 100644
--- a/main/models.py
+++ b/main/models.py
@@ -64,12 +64,12 @@ class Mirror(models.Model):
upstream = models.ForeignKey('self', null=True, blank=True)
country = models.CharField(max_length=255, db_index=True)
admin_email = models.EmailField(max_length=255, blank=True)
- notes = models.CharField(max_length=255, blank=True)
public = models.BooleanField(default=True)
active = models.BooleanField(default=True)
isos = models.BooleanField(default=True)
rsync_user = models.CharField(max_length=50, null=True, blank=True)
rsync_password = models.CharField(max_length=50, null=True, blank=True)
+ notes = models.TextField(blank=True)
def __unicode__(self):
return self.name