summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-08 06:22:18 +0200
committerDan McGee <dan@archlinux.org>2012-08-08 06:22:18 +0200
commitb7a03d89d126989bf53005404759482e17163991 (patch)
tree31597cdd0c0a070708b73b184f25a43ddf82aa97 /packages
parentdfad3c04e905c0058e6acdbdb229c8cc4ed78cd4 (diff)
downloadarchweb-b7a03d89d126989bf53005404759482e17163991.tar.gz
archweb-b7a03d89d126989bf53005404759482e17163991.tar.xz
Push more default values down into the database
This makes it easier to do manual manipulation/insertion/etc. at the database level, as well as just making things act more sane from an overall software stack perspective. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py
index 403dfef..11fd0a6 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -176,7 +176,7 @@ class FlagRequest(models.Model):
ip_address = models.GenericIPAddressField(verbose_name='IP address',
unpack_ipv4=True)
pkgbase = models.CharField(max_length=255, db_index=True)
- version = models.CharField(max_length=255, default='')
+ version = models.CharField(max_length=255)
repo = models.ForeignKey(Repo)
num_packages = models.PositiveIntegerField('number of packages', default=1)
message = models.TextField('message to developer', blank=True)