summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index 202e7fa6..014464ff 100644
--- a/main/models.py
+++ b/main/models.py
@@ -105,10 +105,10 @@ class Package(models.Model):
last_update = models.DateTimeField(db_index=True)
files_last_update = models.DateTimeField(null=True, blank=True)
packager_str = models.CharField(max_length=255)
- packager = models.ForeignKey(User, null=True,
+ packager = models.ForeignKey(User, null=True, blank=True,
on_delete=models.SET_NULL)
pgp_signature = models.TextField(null=True, blank=True)
- flag_date = models.DateTimeField(null=True)
+ flag_date = models.DateTimeField(null=True, blank=True)
objects = PackageManager()