mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-20 11:30:11 +00:00
修改代码格式
This commit is contained in:
parent
884d3ff980
commit
d5ab12bb32
@ -1,4 +1,5 @@
|
||||
# coding=utf-8
|
||||
from django import template
|
||||
|
||||
|
||||
def translate_result(value):
|
||||
@ -32,9 +33,6 @@ def translate_result_class(value):
|
||||
return "danger"
|
||||
|
||||
|
||||
from django import template
|
||||
|
||||
|
||||
register = template.Library()
|
||||
register.filter("translate_result", translate_result)
|
||||
register.filter("translate_id", translate_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user