def current_page(context):
 page = context['__CACTUS_CURRENT_PAGE__']
 return page.final_url

def current_page ( context ) : page = context [ '__CACTUS_CURRENT_PAGE__' ] return page . final_url
returns the current url .