Example #1
0
 def has_answered_non_response(self):
     open_batch = Batch.currently_open_for(self.household.location)
     return self.multichoiceanswer.filter(question__group__name="NON_RESPONSE", batch=open_batch).count() > 0
Example #2
0
 def has_answered_non_response(self):
     open_batch = Batch.currently_open_for(self.household.location)
     return self.multichoiceanswer.filter(question__group__name="NON_RESPONSE", batch=open_batch).count() > 0
Example #3
0
 def has_answered_non_response(self):
     open_batch = Batch.currently_open_for(self.location)
     has_answered_non_response = self.multichoiceanswer.filter(question__group__name="NON_RESPONSE",
                                                               batch=open_batch, householdmember=None)
     return has_answered_non_response.exists()
Example #4
0
 def has_answered_non_response(self):
     open_batch = Batch.currently_open_for(self.location)
     has_answered_non_response = self.multichoiceanswer.filter(question__group__name="NON_RESPONSE",
                                                               batch=open_batch, householdmember=None)
     return has_answered_non_response.exists()