Skip to content

Conversation

@lsabor
Copy link
Contributor

@lsabor lsabor commented Dec 2, 2024

This adds an "is_spam" flag to users to differentiate between soft deleted and spam accounts

Spam forecasts get filtered out by default now (by Custom object manager)
Change "soft delete" commands to "mark as spam" accordingly

…methods, filter out spam forecasts by default, change admin ui interface to reflect spam
users/models.py Outdated
bio = models.TextField(default="", blank=True)
is_bot = models.BooleanField(default=False)

is_spam = models.BooleanField(default=False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is heavily used for filtering, please add index

@lsabor lsabor merged commit b3c6f71 into main Dec 2, 2024
2 checks passed
@lsabor lsabor deleted the feat/spam-accounts-stop-effecting-cp branch December 2, 2024 19:56
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

Successfully merging this pull request may close these issues.

3 participants