def full_url(url): """ A Django template filter to prepend the given URL path with the full site URL. """ return urljoin(settings.SITE_URL, url)