diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-07 13:05:46 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 13:05:49 -0600 |
commit | b1c42e16ac0c49a574cfa154162353ac555ac342 (patch) | |
tree | 3558da6c5c0f55724418f7bf88fcb96b4c309680 /devel/models.py | |
parent | 7b6ec8662a306c5754dbe4fe2484de61284942ac (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.py | 4 |
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',) |