def form_valid(self, form):
        form.save()
        messages.success(
            self.request, "Your moderation frequency has been set")
        return HttpResponseRedirect(self.get_success_url())
Method to handle a valid form
dataset/ETHPy150Open ofa/connect/open_connect/moderation/views.py/ModerationFrequencyUpdateView.form_valid