From 86c1dfb74952dac68847da487cb18ab2b7029ad3 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Tue, 6 Aug 2019 16:49:19 -0400 Subject: [PATCH] Enforce PDF in TO uploader file picker --- atst/forms/task_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atst/forms/task_order.py b/atst/forms/task_order.py index c8fcbdb9..30a86c3b 100644 --- a/atst/forms/task_order.py +++ b/atst/forms/task_order.py @@ -63,6 +63,7 @@ class CLINForm(FlaskForm): class AttachmentForm(BaseForm): filename = HiddenField(id="attachment_filename") object_name = HiddenField(id="attachment_object_name") + accept = ".pdf,application/pdf" class TaskOrderForm(BaseForm):