title: How to convert a Django QuerySet to a list?
body: <p>I have the following:</p>
  
  <pre><code>answers = Answer.objects.filter(id__in=[answer.id for answer in answer_set.answers.all()])
  </code></pre>
  
  <p>then later:</p>
  
  <pre><code>for i in range(len(answers)):
      # iterate through all existing QuestionAnswer objects
      for existing_question_answer in existing_question_answers:
          # if an answer is already associated, remove it from the
          # list of answers to save
          if answers[i].id == existing_question_answer.answer.id:
              answers.remove(answers[i])           # doesn't work
              existing_question_answers.remove(existing_question_answer)
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>'QuerySet' object has no attribute 'remove'
  </code></pre>
  
  <p>I've tried all sorts to convert the QuerySet to a standard set or list. Nothing works.</p>
  
  <p>How can I remove an item from the QuerySet so it doesn't delete it from the database, and doesn't return a new QuerySet (since it's in a loop that won't work)?</p>