Should this not be `urls = site_url(request)`? Or how else can you do anything smart inside your `site_url()` callable?