'Prompt for a default value.
The ``default`` argument allows providing a custom default value (as a
string) which will be shown to the user and used as the return value
if the user doesn\'t provide any other input.'

def _ask_default(self, default=''):

    print 'Please    enter    the    default    value    now,    as    valid    Python'
    if default:
        print "You    can    accept    the    default    '{}'    by    pressing    'Enter'    or    you    can    provide    another    value.".format(default)
    print 'The    datetime    and    django.utils.timezone    modules    are    available,    so    you    can    do    e.g.    timezone.now'
    print "Type    'exit'    to    exit    this    prompt"
    while True:
        if default:
            prompt = '[default:    {}]    >>>    '.format(default)
        else:
            prompt = '>>>    '
        code = input(prompt)
        if ((not code) and default):
            code = default
        if (not code):
            print "Please    enter    some    code,    or    'exit'    (with    no    quotes)    to    exit."
        elif (code == 'exit'):
            sys.exit(1)
        else:
            try:
                return eval(code, {}, {'datetime': datetime_safe, 'timezone': timezone})
            except (SyntaxError, NameError) as e:
                print ('Invalid    input:    %s' % e)
