Mark reCAPTCHA field as not required.

Review Request #7981 — Created Feb. 19, 2016 and submitted

Information

Djblets
release-0.10.x

Reviewers

Since reCAPTCHA field validation is not always required, we no longer
mark the field as required. This allows for forms to be submitted
without filling out an impossible (becuase it is not present) reCAPTCHA.

Before applying this patch, tests related to using this mixin broke on
submission, even if verify_recaptcha returned False. After applying
it, those tests passed.

Used this in another package.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/recaptcha/mixins.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/recaptcha/mixins.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (8a50391)