During form initialization, some widgets have to be replaced by a counterpart suitable to
        be rendered the AngularJS way.

def convert_widgets(self):
        """
        During form initialization, some widgets have to be replaced by a counterpart suitable to
        be rendered the AngularJS way.
        """
        warnings.warn("Will be removed after dropping support for Django-1.10", PendingDeprecationWarning)
        widgets_module = getattr(self, 'widgets_module', 'djng.widgets')
        for field in self.base_fields.values():
            if hasattr(field, 'get_converted_widget'):
                new_widget = field.get_converted_widget(widgets_module)
                if new_widget:
                    field.widget = new_widget