From c1dd1dd33bdb8258245c2ca3f8bc09fab2927721 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 8 Oct 2014 12:40:23 +0200 Subject: [PATCH] Remove full_url_static usage. --- taiga/base/templates/emails/base.jinja | 2 +- taiga/base/templatetags/__init__.py | 1 - taiga/base/templatetags/functions.py | 24 ------------------------ 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 taiga/base/templatetags/__init__.py delete mode 100644 taiga/base/templatetags/functions.py diff --git a/taiga/base/templates/emails/base.jinja b/taiga/base/templates/emails/base.jinja index 014b1aed..0138a1b7 100644 --- a/taiga/base/templates/emails/base.jinja +++ b/taiga/base/templates/emails/base.jinja @@ -95,7 +95,7 @@ - Taiga + Taiga diff --git a/taiga/base/templatetags/__init__.py b/taiga/base/templatetags/__init__.py deleted file mode 100644 index 8b137891..00000000 --- a/taiga/base/templatetags/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/taiga/base/templatetags/functions.py b/taiga/base/templatetags/functions.py deleted file mode 100644 index 678630c0..00000000 --- a/taiga/base/templatetags/functions.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2014 Andrey Antukh -# Copyright (C) 2014 Jesús Espino -# Copyright (C) 2014 David Barragán -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -from django_jinja import library -from django_sites.utils import static - -register = library.Library() - -@register.global_function -def full_url_static(text) -> str: - return static(text)