title: Getting ID field while using for cycle with objects
body: <p>what is the best way to get <code>for</code> number each time it runs?</p>
  
  <p>Code:</p>
  
  <pre><code>fields = []
  
  objects = otherobjects.all() 
  for object in objects
      fields.append(('id_is_#', object))
  </code></pre>
  
  <p>I want to put an ID to # place. ID would be generated ++ way.</p>