based on this docs https://developers.google.com/appengine/docs/python/ndb/entities#deleting_entities well, im still not sure why i cannot do the delete on NDB:
<
Try this:
ndb.Key(category, int(id)).delete()
You need to convert the id to integer in order to build a numeric (id) key instead of a name key.