Skip to content

Conversation

@Bhavishya-Chaturvedi
Copy link

  • Modified "Questions" model in the forum website (added spam, approved_required, approved_by, date_approved)

  • Modified website/helpers.py to include "handle_spam()" function for handling spam questions at time of question input.

  • Added "spamrule" model for keeping the rules for classification of spam questions(patterns, keywords)
    spamrule

  • Added "spamlog" model for keeping record of deleted questions by the handle_spam() along with details, weight and the corresponding spam patterns found in it
    spamlog

  • Created "seed_spam_rule.py" that helps in populating the spamrule model for spam keywords and patterns

Copy link
Contributor

@ankitamk14 ankitamk14 left a comment

Choose a reason for hiding this comment

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

Add migrations files for the new & updated models used for this feature.

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.

2 participants