First time here? Check out the FAQ!
1

How do I mass delete all questions from a user?

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?

FranciscoD's avatar
71
FranciscoD
asked 2014-05-29 02:37:30 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2014-05-30 16:04:15 -0500
edit flag offensive 0 remove flag delete link

Comments

1

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 -0500) 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 -0500) edit
add a comment see more comments