django force form is_valid

i would like to force my_form.is_valid() to return a valid response when my form have a checked box to True. But everytime is not valid...

def clean(self):
    if self.cleaned_data.get("replay_transaction") == True:
        #what i need to do to ignore all other field verification (card number, cvv, ...)?
    else:
        self.cleaned_data

thank you

Answers


write a custom function that validates the fields and call it instead of form.is_valid()


Need Your Help

WCF for a shared data access

c# wcf web-services

I have a little experience with WCF and would like to get your opinion/suggestion on how the following problem can be solved: