def default_values(request, link_form=None):
    if not link_form:
        link_form = LinkSubmitForm()
    allowed_to_submit = is_allowed_to_submit(request)
    return { 'show_bookmarklet': allowed_to_submit,
             'show_url_form': allowed_to_submit,
             'site_name': settings.SITE_NAME,
             'site_base_url': settings.SITE_BASE_URL,
             'link_form': link_form,
             }
Restore settings and clean up.
dataset/ETHPy150Open nileshk/url-shortener/shortener/views.py/default_values--crossover with--dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/web_display.py/Screen.stop