Ask Your Question

How do I wipe an askbot (delete all forum/user info)?

asked 2014-03-12 07:40:18 -0600

muselesscreator's avatar

I have installed an askbot server and have been working on testing out our conversion method for getting data from our old forum into this one. By virtue of this, the askbot is currently cluttered with trash users/questions and is going to be a bit worse before I am done.

Is there an easy utility/command for wiping/truncating the database and starting over?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-13 06:37:46 -0600

Evgeny's avatar

Yes here is how this can be done in Django, assuming your database tables are fully migrated:

python flush --noinput
python migrate --fake --noinput

The second step will restore the migrations history, so that later new migrations can be applied.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-03-12 07:40:18 -0600

Seen: 1,690 times

Last updated: Mar 13 '14