Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent spamming of the resource suggestion form #16

Open
e2jk opened this issue Jan 19, 2013 · 1 comment
Open

Prevent spamming of the resource suggestion form #16

e2jk opened this issue Jan 19, 2013 · 1 comment

Comments

@e2jk
Copy link
Owner

e2jk commented Jan 19, 2013

On 6 October 2012, 11445 resources were "suggested", containing only spam.

I've suppressed them using this command:

$ python manage.py shell
>>> from flosstalks_app.models import Resource
>>> for r in Resource.objects.filter(status="SG"):
...    r.delete()

If this happens again, we'll need to take some preventive measures. Question is what? Captcha, removing the whole form, etc?

e2jk added a commit that referenced this issue Jan 19, 2013
@e2jk
Copy link
Owner Author

e2jk commented Jan 19, 2013

New management command to vacuum the database after deleting all the spam, added in 659e0cd:

$ python manage.py vacuum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant