diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-29 23:58:25 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-29 23:58:25 +0200 |
commit | 9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807 (patch) | |
tree | d136fde09ff4803aefc42f8dbd912ba563715faa /client/models.py | |
parent | accept terms on account creation (diff) | |
download | scout-subs-9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807.tar.gz scout-subs-9bb7b7bdfaf4130e1fa8e5f9baf93e9f977f7807.zip |
upload signed documents
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 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") |