summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 19:34:21 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 19:34:21 -0400
commit1a1fd4a3d6aa7f6b2338f7751f5f97a30a059a04 (patch)
treef608874663d24f19ecf175ec556f2a330d47a726 /main/models.py
parent747a562ddca10e29dd003e8b3c59f8f384d1bc8d (diff)
parentcd7222047b41ac3efa389a22fdd22148d03c1d61 (diff)
Merge tag 'release_2014-03-22' into archweb-generic
Fix long filenames; local storage for filter prefs Conflicts: templates/public/download.html
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 '')