rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / apps / wolnelektury_core / templatetags / common_tags.py
diff --git a/apps/wolnelektury_core/templatetags/common_tags.py b/apps/wolnelektury_core/templatetags/common_tags.py
new file mode 100644 (file)
index 0000000..ccaf03b
--- /dev/null
@@ -0,0 +1,7 @@
+from django import template
+register = template.Library()
+
+
+@register.filter
+def build_absolute_uri(uri, request):
+    return request.build_absolute_uri(uri)