Fix #109: List pending requests by default, added a status filter for requests

This commit is contained in:
Eliot Berriot 2018-04-27 22:23:25 +02:00
parent f2d20e1bf7
commit 42a2ffbf24
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 44 additions and 7 deletions

View file

@ -15,6 +15,7 @@ STATUS_CHOICES = [
('closed', 'closed'),
]
class ImportRequest(models.Model):
creation_date = models.DateTimeField(default=timezone.now)
imported_date = models.DateTimeField(null=True, blank=True)