summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-16 19:52:25 -0700
committereliott <eliott@cactuswax.net>2008-04-16 19:52:25 -0700
commitf5d9d687d342209f3badd1c04ebc9d72ac559011 (patch)
tree47d684bd5cc416a0fabb688799b1fdbc8e66d776 /main
parentb298d9ea74fce476b230ff3734b3fb5fd30ee8aa (diff)
downloadarchweb-f5d9d687d342209f3badd1c04ebc9d72ac559011.tar.gz
archweb-f5d9d687d342209f3badd1c04ebc9d72ac559011.zip
Changed url field type.
Default url field oddly enough in django appears to be 200 chars long. A url is valid up to 255 chars I believe.
Diffstat (limited to 'main')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 83f4fe83..2bc3724a 100644
--- a/main/models.py
+++ b/main/models.py
@@ -179,7 +179,7 @@ class Package(models.Model):
pkgver = models.CharField(maxlength=255)
pkgrel = models.CharField(maxlength=255)
pkgdesc = models.CharField(maxlength=255)
- url = models.URLField()
+ url = models.CharField(maxlength=255)
last_update = models.DateTimeField(null=True, blank=True)
objects = PackageManager()
class Meta: