<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_base_input(test=False):
 """ Return DateTimeBaseInput class from django.forms.widgets module Return _compatibility.DateTimeBaseInput class for older django versions. """

    from django.forms.widgets import DateTimeBaseInput
    if 'get_context' in dir(DateTimeBaseInput) and not test:
        # django version 1.11 and above
        base_input = DateTimeBaseInput
    else:
        # django version below 1.11
        from bootstrap_datepicker_plus._compatibility import (
            CompatibleDateTimeBaseInput
        )
        base_input = CompatibleDateTimeBaseInput
    return base_input