Closed GoogleCodeExporter closed 8 years ago
I'm a C# developer, so I've been monkeying with java, but not with Python.
Looks like you need to add in the app definition
('/links/erase', EraseLinksHandler),
Then something like:
class EraseLinksHandler(webapp.RequestHandler):
'''This class is built to erase all activity of an authenticated users. It takes no arguments, and returns nothing.'''
def get(self):
if users.get_current_user():
links = Link.all().filter("author =", users.get_current_user())
for link in links:
link.delete()
else:
self.redirect(users.create_login_url("/links/erase"))
Original comment by jazmatic...@gmail.com
on 30 Aug 2010 at 5:18
Attachments:
Yeah, it's a pretty simple fix. I just haven't gotten around to it. I also need
to think of an elegant way to include it in the Android and Chrome Extension
UIs, too.
Thanks for the code, though. :)
Original comment by foran.pa...@gmail.com
on 30 Aug 2010 at 9:12
Just cleaning up issues and labels.
Original comment by foran.pa...@gmail.com
on 7 Sep 2010 at 6:55
This issue has been moved to Github:
https://github.com/2cloud/AppEngine/issues/31
Original comment by foran.pa...@gmail.com
on 6 Aug 2011 at 9:53
Original issue reported on code.google.com by
foran.pa...@gmail.com
on 5 Aug 2010 at 12:56