title: how to delete NDB entity using ID?
body: <p>based on this docs <a href="https://developers.google.com/appengine/docs/python/ndb/entities#deleting_entities" rel="nofollow">https://developers.google.com/appengine/docs/python/ndb/entities#deleting_entities</a> 
  well, im still not sure why i cannot do the delete on NDB:</p>
  
  <pre><code>def get(self):
    id = self.request.get("delete")
    ndb.Key('category', id).delete()
  </code></pre>
  
  <p>yeah i know how to select using id</p>
  
  <pre><code>ndb.Key('category', id).get()
  </code></pre>
  
  <p>but its still not working...</p>
  
  <pre><code>key = ndb.Key('category', id).get()
  key.delete()
  </code></pre>
  
  <p>this one also not working:</p>
  
  <pre><code>category.key.delete()
  </code></pre>
  
  <p>something wrong? </p>