summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-03-22 12:25:09 -0500
committerDan McGee <dan@archlinux.org>2014-03-22 12:25:09 -0500
commitcd7222047b41ac3efa389a22fdd22148d03c1d61 (patch)
tree3c7c89b806da6d9e7148b1f6965102d453243afd /main/models.py
parent3f1ca4da2a0e29850eadec7a8d69444081da099c (diff)
downloadarchweb-cd7222047b41ac3efa389a22fdd22148d03c1d61.tar.gz
archweb-cd7222047b41ac3efa389a22fdd22148d03c1d61.zip
Make filename and directory name fields accept longer valuesrelease_2014-03-22
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index bf7a9409..09b1adc0 100644
--- a/main/models.py
+++ b/main/models.py
@@ -433,8 +433,8 @@ class Package(models.Model):
class PackageFile(models.Model):
pkg = models.ForeignKey(Package)
is_directory = models.BooleanField(default=False)
- directory = models.CharField(max_length=255)
- filename = models.CharField(max_length=255, null=True, blank=True)
+ directory = models.CharField(max_length=1024)
+ filename = models.CharField(max_length=1024, null=True, blank=True)
def __unicode__(self):
return "%s%s" % (self.directory, self.filename or '')