def limit_candidate_choices(): today = timezone.localtime(timezone.now()).date() time_offset = today - timedelta(days=60) return {"dataentry": "manual", "electiondate__gte": time_offset}