'If a widget was converted and the Form data was submitted through an Ajax request,
then these data fields must be converted to suit the Django Form validation'

def rectify_ajax_form_data(self, data):

    for (name, field) in self.base_fields.items():
        try:
            data[name] = field.convert_ajax_data(data.get(name, {}))
        except AttributeError:
            pass
    return data
