Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle App Engine's remote_api: Deleting all data in django nonrel
    text
    copied!<p>I'm using django non-rel (<a href="http://www.allbuttonspressed.com/projects/django-nonrel" rel="nofollow noreferrer">http://www.allbuttonspressed.com/projects/django-nonrel</a>) and am trying to delete all the data in my production's datastore. I was reading the question posed here <a href="https://stackoverflow.com/questions/1062540/how-to-delete-all-datastore-in-google-app-engine">How to delete all datastore in Google App Engine?</a> but the answer wasn't working for me. </p> <p>Is this because I'm not doing it correctly or because we are using a django where the layers manipulate the data before being saved onto datastore? </p> <p>Just to clarify, these are the steps I've taken to delete all datastore data.</p> <ol> <li><p>I went to google app engine's folder in program files</p></li> <li><p>In command line, entered "remote_shell_api.py yourapp /remote_api"</p></li> <li><p>when I got in successfully, I tried to import one of my app folders but it wouldn't allow me to import it, let alone delete it.</p></li> <li><p>Of course, typing my project's equivalent of this also failed</p></li> </ol> <pre><code>from models import Entry query = Entry.all() entries =query.fetch(1000) db.delete(entries) </code></pre> <p>I also looked into doing the steps in here (<a href="http://code.google.com/appengine/docs/python/tools/uploadingdata.html" rel="nofollow noreferrer">http://code.google.com/appengine/docs/python/tools/uploadingdata.html</a>) but I got really confused. Can anybody clarify the process? Is it different than the normal google app engine projects, if so, how do we use it?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload