diff --git a/django_project/monitor/admin.py b/django_project/monitor/admin.py index 2a67fbfbc..883a0bf4e 100644 --- a/django_project/monitor/admin.py +++ b/django_project/monitor/admin.py @@ -124,6 +124,10 @@ def download_records(self, request, queryset): ]) for obs in queryset: + if obs.flag == 'clean': + flag = 'Verified' + else: + flag = 'Unverified' try: user_profile = obs.user.userprofile user_organization_name = user_profile.organisation_name @@ -161,6 +165,7 @@ def download_records(self, request, queryset): smart_str(obs.true_flies), smart_str(obs.snails), smart_str(obs.score), + smart_str(flag), smart_str(obs.water_clarity), smart_str(obs.water_temp), smart_str(obs.ph),