From 987a6d3c553dbfdfc37bfc9f0f656d107c74f85e Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 22 Jun 2020 23:03:32 +0200 Subject: Download docs, better preview --- client/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/models.py') diff --git a/client/models.py b/client/models.py index 78b8df4..105165b 100644 --- a/client/models.py +++ b/client/models.py @@ -51,6 +51,8 @@ class MedicalData(models.Model): drugs = models.CharField(default="", max_length=250) misc_bool = models.BooleanField(default=False) misc = models.CharField(default="", max_length=250) + vac_certificate = models.FileField(upload_to='documents/', null=True) + health_care_certificate = models.FileField(default=None, upload_to='documents/', null=True) class Document(models.Model): -- cgit v1.2.1