Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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()
Exemplo n.º 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()