summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-07 20:45:05 +0100
committerDan McGee <dan@archlinux.org>2011-02-15 20:51:11 +0100
commit4444f25d5cd9a9e1cb310a2d9c0b6b1ec1f55789 (patch)
tree8d1cff4d938f317cb1d09a872ce6fba91b7a3124 /main/models.py
parent30756f13efccef1e3b2cdbf9ac9855abc77b065c (diff)
downloadarchweb-4444f25d5cd9a9e1cb310a2d9c0b6b1ec1f55789.tar.gz
archweb-4444f25d5cd9a9e1cb310a2d9c0b6b1ec1f55789.tar.xz
Move license to a related model
This allows us to store multiple licenses per package in a more elegant fashion, and will later allow us to search and filter on this information. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 56e5712..b1813c3 100644
--- a/main/models.py
+++ b/main/models.py
@@ -117,7 +117,6 @@ class Package(models.Model):
build_date = models.DateTimeField(null=True)
last_update = models.DateTimeField(null=True, blank=True)
files_last_update = models.DateTimeField(null=True, blank=True)
- license = models.CharField(max_length=255, null=True)
packager_str = models.CharField(max_length=255)
packager = models.ForeignKey(User, null=True)
flag_date = models.DateTimeField(null=True)