feat: profile page redesign

This commit is contained in:
Jannat Patel
2022-02-23 09:36:50 +05:30
parent d5cf0fee64
commit e805ae7757
6 changed files with 204 additions and 219 deletions

View File

@@ -97,7 +97,6 @@ def set_mandatory_fields_for_profile():
for field in profile_form.web_form_fields:
field.reqd = 0
if field.fieldname in profile_mandatory_fields:
print(field.fieldname)
field.reqd = 1
profile_form.save()