fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes #3312: Sanitize payment titles.
[wolnelektury.git]
/
apps
/
funding
/
templatetags
/
funding_tags.py
diff --git
a/apps/funding/templatetags/funding_tags.py
b/apps/funding/templatetags/funding_tags.py
index
5c6544a
..
f59a796
100755
(executable)
--- a/
apps/funding/templatetags/funding_tags.py
+++ b/
apps/funding/templatetags/funding_tags.py
@@
-1,5
+1,6
@@
from django import template
from ..models import Offer
+from ..utils import sanitize_payment_title
register = template.Library()
@@
-43,4
+44,4
@@
def offer_status_more(offer):
'offer': offer,
}
-
+register.filter(sanitize_payment_title)