title: How to get last inserted item key in Google App Engine
body: <p>I am working with Google App Engine and Python.<br>
  I have a model with Items.<br>
  Immediately after I insert an item with item.put()<br>
  I want to get it's key and redirect to a page using this key.</p>
  
  <p>Something like:</p>
  
  <pre><code>redirectUrl = "/view/key/%s/" % item.key
  self.redirect(redirectUrl)
  </code></pre>