Fix write-only tool options fields.

Review Request #8760 — Created Feb. 17, 2017 and submitted

Information

ReviewBot
master
74269c8...

Reviewers

The tool options for a Review Bot configuration would save correctly, but they
weren't being loaded because we were creating the tool_options field after
the data had been loaded from the instance. This change fixes that by
overriding load() and creating the field, before deferring to the
KeyValueForm implementation.

Opened up a Review Bot configuration and saw that my configured values now
appeared in the form.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        extension/reviewbotext/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        extension/reviewbotext/forms.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (47171f7)
Loading...