def clearDatastore(request):
    ti = time.clock()
    all = Thing.all()
    for x in all:
        x.delete()
        if time.clock() - ti >= 8:
            return HttpResponseRedirect("/clearDatastore")

Any ideas on why the above times out? Thx.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to