Skip to content

Commit 31b08a6

Browse files
committed
categories/list.html use jinja2
1 parent c71e008 commit 31b08a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firefly/views/category.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
from __future__ import absolute_import
21
# coding=utf-8
2+
from __future__ import absolute_import
33
from flask.views import MethodView
44
from flask.blueprints import Blueprint
5-
from flask_mako import render_template
65

76
from firefly.models.topic import Category, Post
7+
from firefly.libs.template import render_template
88

99

1010
bp = Blueprint("category", __name__, url_prefix="/category")

0 commit comments

Comments
 (0)