Sometimes when developing a new App Engine app, you want to start fresh with the datastore, wiping everything. Unfortunately, this can be a cumbersome process with the existing interface.
Nuke is a "add-in" to the admin panel that lets you delete all entities of a specific kind, or all entities of all kinds with a button click.
- Copy bulkupdate into your application's root directory:
git clone git://github.com/Arachnid/bulkupdate.git
- Copy
nuke
into your application's root directory:svn export http://jobfeed.googlecode.com/svn/trunk/appengine/nuke
Modify your app.yaml to include the following (this will install both nuke and bulkupdate): ``` admin_console: pages:
name: Bulk Update Jobs url: /_ah/bulkupdate/admin/
name: Nuke url: /_ah/nuke/
handlers: - url: /_ah/queue/deferred script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py login: admin
url: /_ah/bulkupdate/admin/.* script: bulkupdate/handler.py login: admin
url: /_ah/nuke/.* script: nuke/nuke.py login: admin ```