mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 15:19:03 +00:00
Move the remaining template_global into 'template-utils' blueprint
This commit is contained in:
@@ -4,9 +4,8 @@ import datetime
|
||||
from email.utils import formatdate
|
||||
|
||||
from tests import NyaaTestCase
|
||||
from nyaa.routes import category_name
|
||||
from nyaa.template_utils import (_jinja2_filter_rfc822, _jinja2_filter_rfc822_es, get_utc_timestamp,
|
||||
get_display_time, timesince, filter_truthy)
|
||||
get_display_time, timesince, filter_truthy, category_name)
|
||||
|
||||
|
||||
class TestTemplateUtils(NyaaTestCase):
|
||||
|
||||
Reference in New Issue
Block a user