diff options
author | eliott <eliott@cactuswax.net> | 2008-04-17 04:52:25 +0200 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-04-17 04:52:25 +0200 |
commit | f5d9d687d342209f3badd1c04ebc9d72ac559011 (patch) | |
tree | 47d684bd5cc416a0fabb688799b1fdbc8e66d776 /main | |
parent | b298d9ea74fce476b230ff3734b3fb5fd30ee8aa (diff) | |
download | archweb-f5d9d687d342209f3badd1c04ebc9d72ac559011.tar.gz archweb-f5d9d687d342209f3badd1c04ebc9d72ac559011.tar.xz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py index 83f4fe8..2bc3724 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: |