summaryrefslogtreecommitdiff
path: root/devel/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-07 13:05:46 -0600
committerDan McGee <dan@archlinux.org>2011-12-07 13:05:49 -0600
commitb1c42e16ac0c49a574cfa154162353ac555ac342 (patch)
tree3558da6c5c0f55724418f7bf88fcb96b4c309680 /devel/models.py
parent7b6ec8662a306c5754dbe4fe2484de61284942ac (diff)
Convert master key datetimes to dates
The extra precision is not necessary and just makes entry of the data harder anyway.
Diffstat (limited to 'devel/models.py')
-rw-r--r--devel/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/models.py b/devel/models.py
index e46fbba1..03a5b15e 100644
--- a/devel/models.py
+++ b/devel/models.py
@@ -12,8 +12,8 @@ class MasterKey(models.Model):
help_text="The developer holding the revocation certificate")
pgp_key = PGPKeyField(max_length=40, verbose_name="PGP key fingerprint",
help_text="consists of 40 hex digits; use `gpg --fingerprint`")
- created = models.DateTimeField()
- revoked = models.DateTimeField(null=True, blank=True)
+ created = models.DateField()
+ revoked = models.DateField(null=True, blank=True)
class Meta:
ordering = ('created',)