diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-31 10:45:56 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-31 10:45:56 +0200 |
commit | 0d24c3ca2c4810b5000e511900ad603d8b264205 (patch) | |
tree | 72d6529b616bd00ff6f61863d0fc2de11ab6f66d /client/views.py | |
parent | perm staff for non primary group (diff) | |
download | scout-subs-0d24c3ca2c4810b5000e511900ad603d8b264205.tar.gz scout-subs-0d24c3ca2c4810b5000e511900ad603d8b264205.zip |
self delete of medical data
Diffstat (limited to '')
-rw-r--r-- | client/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/views.py b/client/views.py index 51351dd..ae5f2d5 100644 --- a/client/views.py +++ b/client/views.py @@ -81,9 +81,9 @@ def index(request): medical = None vac_file = "" health_file = "" - if i.document_type.personal_data: + if i.personal_data: personal = i.personal_data - if i.document_type.medical_data: + if i.medical_data: medical = i.medical_data if medical.vac_certificate.name: |