Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我们这里以一个Tag的方式来解析文章内容。 #17

Open
n37r06u3 opened this issue May 24, 2014 · 0 comments
Open

我们这里以一个Tag的方式来解析文章内容。 #17

n37r06u3 opened this issue May 24, 2014 · 0 comments

Comments

@n37r06u3
Copy link

这里是不是应该写成

我们这里通过django 自定义template filter的方式来实现解析文章内容。

template tag 和 template filter 应该是不同的东西
filter 带管道的功能 tag 只是输出一些东西

它们都定义在templatetags 目录里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant