  
              if getattr(v, 'choices', None) is not None:
                  kwargs['choices'] = v.choices
  
              if getattr(v, 'regex', None) is not None:
                  kwargs['regex'] = v.regex
  
              if getattr(v, 'widget', None):
                  widget = copy.deepcopy(v.widget)
                  kwargs['widget'] = widget
  
 
</s> remove             if getattr(v, 'widget', None):
                widget = copy.deepcopy(v.widget)
 </s> add             if getattr(val, 'widget', None):
                widget = copy.deepcopy(val.widget) </s> remove             if getattr(v, 'choices', None) is not None:
                kwargs['choices'] = v.choices
 </s> add             if getattr(val, 'choices', None) is not None:
                kwargs['choices'] = val.choices </s> remove             if getattr(v, 'default', None) is not None:
                kwargs['initial'] = v.default
 </s> add             if getattr(val, 'default', None) is not None:
                kwargs['initial'] = val.default </s> remove             kwargs['required'] = v.required
 </s> add             kwargs['required'] = val.required </s> remove             if getattr(v, 'label', None) is not None:
                kwargs['label'] = v.label
 </s> add             if getattr(val, 'label', None) is not None:
                kwargs['label'] = val.label
            if getattr(val, 'regex', None) is not None:
                kwargs['regex'] = val.regex
  
              if getattr(v, 'choices', None) is not None:
                  kwargs['choices'] = v.choices
  
            if getattr(val, 'regex', None) is not None:
                kwargs['regex'] = val.regex
            if getattr(val, 'regex', None) is not None:
                kwargs['regex'] = val.regex
  
              if getattr(v, 'widget', None):
                  widget = copy.deepcopy(v.widget)
                  kwargs['widget'] = widget
  
keep keep keep keep replace replace keep keep keep keep keep
 Cleanup and dealing with empty form data. 
rest_framework/renderers.py