Hi all,
I am not able to delete my item
Here is my code (relevant to deletion)
>
> class DSusers(ndb.Model):
> """Models an individual Guestbook entry with author, content, and
> date."""
> username = ndb.StringProperty()
> password = ndb.StringProperty(indexed=False)
> dateJoined = ndb.DateTimeProperty(auto_now_add=True)
> ...
> class ndbDeletePage(webapp2.RequestHandler):
> def get(self):
> w_key = ndb.Key(DSusers, 'weilies')
> w_key.delete()
> ...
> application = webapp2.WSGIApplication([
> ('/', MainPage),
> ('/login', LoginPage),
> ('/ndbInsert', ndbInsertPage),
Here is my datastore
<https://lh3.googleusercontent.com/-LfA3fGRVUS4/UnzyVHsaWiI/AAAAAAAABo0/vOAZAOs1f5Y/s1600/Screen+Shot+2013-11-08+at+10.16.12+pm.png>
URL: http://localhost:8080/ndbDelete (dev environment)
No error from console.
Thanks for the guidance :)
Regards,
weilies
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.