Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created March 18, 2012 19:22
Show Gist options
  • Select an option

  • Save AeroNotix/2080001 to your computer and use it in GitHub Desktop.

Select an option

Save AeroNotix/2080001 to your computer and use it in GitHub Desktop.
def link(request):
if request.POST.get("link", None):
subprocess.call(['firefox-aurora', request.POST['link']])
return render_to_response("link.html",
{},
RequestContext(request))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment