'Configure how the form should be submitted.
Args:
method (unicode): The HTTP method used to submit the form.
submit_url (unicode): The URL where the form should be submitted.'

def __init__(self, method, submit_url):

    self.method = method
    self.submit_url = submit_url
    self.fields = []
    self._field_overrides = defaultdict(dict)
