def get_default_widget():
    """ Get the default widget or the widget defined in settings """
    default_widget = forms.Textarea
    if hasattr(settings, 'BLEACH_DEFAULT_WIDGET'):
        default_widget = load_widget(settings.BLEACH_DEFAULT_WIDGET)
    return default_widget
def get_default_widget ( ) : default_widget = forms . Textarea if hasattr ( settings , 'BLEACH_DEFAULT_WIDGET' ) : default_widget = load_widget ( settings . BLEACH_DEFAULT_WIDGET ) return default_widget
Get the default widget or the widget defined in settings