<s> from django . core import urlresolvers <EOL> from django . http import HttpResponse <EOL> from django_js_reverse . core import generate_js <EOL> def urls_js ( request ) : <EOL> default_urlresolver = urlresolvers . get_resolver ( getattr ( request , '<STR_LIT>' , None ) ) <EOL> response_body = generate_js ( default_urlresolver ) <EOL> return HttpResponse ( response_body , ** { '<STR_LIT>' : '<STR_LIT>' } ) </s>
