Ask Your Question

How do I mass delete all questions from a user?

asked 2014-05-29 02:37:30 -0600

FranciscoD's avatar

Over the past few days, we've come under heavy spam attacks. They create multiple accounts and post as many as 50 spam questions from each. It's a lot of work to delete each question individually. is there a management command that will let us moderators/administrators delete all questions from a specific user, especially a spam user?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-30 16:04:15 -0600

Evgeny's avatar

We'll need to implement this feature. It is possible to do from the python shell, but nothing in the UI.

It is possible to delete the user via the "django admin" interface and that will delete all objects created by that user (anything that has ForeignKey to that user row). However the downside is that this user will be able to re-register. A better option is to make the account "blocked" and keep the email address on file.

edit flag offensive delete link more



Yes but what we really need is block + delete all posts from that user option in the web UI

mether's avatar mether  ( 2014-05-30 16:43:39 -0600 )edit

they just make up new email addresses anyway - not sure it is important to keep track of them.

tim's avatar tim  ( 2014-12-13 19:30:43 -0600 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2014-05-29 02:37:30 -0600

Seen: 6,791 times

Last updated: May 30 '14