fixed system page permission
This commit is contained in:
parent
e746b44f3b
commit
cb6d98a357
@ -305,7 +305,6 @@ def history(request):
|
||||
return render(request, 'history.html', {'view_log': view_log, 'cook_log': cook_log})
|
||||
|
||||
|
||||
@group_required('admin')
|
||||
def system(request):
|
||||
if not request.user.is_superuser:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
Loading…
Reference in New Issue
Block a user