Skip to content

Commit 7059ca7

Browse files
committed
change name
Signed-off-by: zhangtianli2006 <zhangtianli2006@163.com>
1 parent e856033 commit 7059ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problem/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from problem.models import Problem
55

66

7-
def enabled_required():
7+
def view_hidden_problem_permission_required():
88
def decorator(func):
99
def _wrapped_view(request, pid, *args, **kwargs):
1010
problem = get_object_or_404(Problem, pid=pid)

0 commit comments

Comments
 (0)