title: How to add a new field with initial value to django queryset result?
body: <p>I have a queryset like this: </p>
  
  <pre><code>&lt;QuerySet [{'id': 5}, {'id': 4}]&gt;
  </code></pre>
  
  <p>and I want to add new field <code>n</code> to it with initial value <code>0</code>.</p>
  
  <pre><code>&lt;QuerySet [{'id': 5, 'n': 0}, {'id': 4, 'n': 0}]]&gt;
  </code></pre>
  
  <p>This is my code so far:</p>
  
  <pre><code>drivers_not_in_rides = Driver.objects.all().filter(
          car__ride__in=ride_ids_with_conditions
  ).values('id').annotate(
      n=0
  )
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>'int' object has no attribute 'resolve_expression'
  </code></pre>
  
  <p>Can anyone give me some advice please?</p>