def admin_required(obj):
    decorator = request_passes_test(lambda r, *args, **kwargs: r.user.is_superuser)
    return wrap_object(obj, decorator)
sets the current fps
dataset/ETHPy150Open croach/django-simple-rest/simple_rest/auth/decorators.py/admin_required--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/fusion/__init__.py/Fusion.set_fps