[Answered ]-Django-nonrel: Syntax to Reset an App

2๐Ÿ‘

โœ…

./manage.py reset node

executes sqlreset to create DROPT TABLE and CREATE TABLE SQL
statements for the given app.

https://docs.djangoproject.com/en/1.3/ref/django-admin/#reset-appname-appname

This does not work with the App Engine Datastore, because the Datastore is schemaless so there is no need for CREATE/DROP table commands.

If you want to delete existing model from the datastore, you can use the App Engine Development Console to delete all entities of the model (just make sure you use the correct port when accessing the Development Console) .

๐Ÿ‘คfhahn

Leave a comment