aboutsummaryrefslogtreecommitdiffstats
path: root/client/models.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-29 23:58:25 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-29 23:58:25 +0200
commit9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807 (patch)
treed136fde09ff4803aefc42f8dbd912ba563715faa /client/models.py
parentaccept terms on account creation (diff)
downloadscout-subs-9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807.tar.gz
scout-subs-9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807.zip
upload signed documents
Diffstat (limited to 'client/models.py')
-rw-r--r--client/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/models.py b/client/models.py
index 4d8ae83..7c47cee 100644
--- a/client/models.py
+++ b/client/models.py
@@ -71,6 +71,8 @@ class Document(models.Model):
medical_data = models.ForeignKey(
MedicalData, default=None, on_delete=models.PROTECT, null=True)
+ signed_doc = models.FileField(default=None, upload_to='documents/', null=True)
+
class Meta:
permissions = [
("approved", "The user is approved")