1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django import template
6 register = template.Library()
10 def build_absolute_uri(uri, request):
11 return request.build_absolute_uri(uri)