diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-06-22 23:03:32 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-06-22 23:03:32 +0200 |
commit | 987a6d3c553dbfdfc37bfc9f0f656d107c74f85e (patch) | |
tree | f0a22330f85a4de171d144645e11bf647e935abf /client/models.py | |
parent | Chips filter, date filter, fix buttons with text (diff) | |
download | scout-subs-987a6d3c553dbfdfc37bfc9f0f656d107c74f85e.tar.gz scout-subs-987a6d3c553dbfdfc37bfc9f0f656d107c74f85e.zip |
Download docs, better preview
Diffstat (limited to 'client/models.py')
-rw-r--r-- | client/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |