asset:update assets_list by tag

This commit is contained in:
江世峰
2016-10-12 18:57:51 +08:00
parent b99b88a30f
commit 73f5891f87
14 changed files with 683 additions and 89 deletions

View File

@@ -43,3 +43,7 @@ def join_attr(seq, attr=None, sep=None):
seq = [getattr(obj, attr) for obj in seq]
print(seq)
return sep.join(seq)
@register.filter
def IntToStr(value):
return str(value)