aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/views.py')
-rw-r--r--accounts/views.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/accounts/views.py b/accounts/views.py
index dc53660..f04f495 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -573,7 +573,6 @@ def edit(request, code):
if request.POST["tetanus_date"] == "" or request.POST["tetanus_date"].lower() == "01 gennaio 1970" or request.POST["tetanus_date"] == "None" or request.POST["tetanus_date"] == "Giovedì 01 Gennaio 1970 00:00":
validation_dic["tetanus_date"] = 'class="datepicker validate invalid" required="" aria-required="true"'
missing_fields = True
- print("missing!!")
else:
validation_dic["tetanus_date"] = 'class="datepicker validate" required="" aria-required="true"'
print("not missing")
@@ -588,8 +587,6 @@ def edit(request, code):
if missing_fields:
errors.append("Alcuni campi richiesti non sono stati compilati")
- print(validation_dic)
-
# check if user uploaded a file
if "vac_certificate" in request.FILES:
files = request.FILES.getlist('vac_certificate')