From bbf273364cfd494e5c40947eafb1bc69085903d5 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 19 Sep 2025 15:27:36 +0530 Subject: [PATCH] [UPDT] RECRUITMENT: Updated recruitment app by include option to create multiple recruitment application for same candidate --- recruitment/models.py | 2 +- recruitment/templates/candidate/application_form.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recruitment/models.py b/recruitment/models.py index 1e0b54ec2..af3f22b81 100644 --- a/recruitment/models.py +++ b/recruitment/models.py @@ -402,7 +402,7 @@ class Candidate(HorillaModel): schedule_date = models.DateTimeField( blank=True, null=True, verbose_name=_("Schedule date") ) - email = models.EmailField(max_length=254, unique=True, verbose_name=_("Email")) + email = models.EmailField(max_length=254, verbose_name=_("Email")) mobile = models.CharField( max_length=15, blank=True, diff --git a/recruitment/templates/candidate/application_form.html b/recruitment/templates/candidate/application_form.html index 0c7d58c89..f87d34e77 100644 --- a/recruitment/templates/candidate/application_form.html +++ b/recruitment/templates/candidate/application_form.html @@ -59,6 +59,7 @@ {{ form.profile.errors }} + {{ form.non_field_errors }}