django superuser_only decorator - how do I introspect the original function?

后端 未结 0 1912
夕颜
夕颜 2021-02-11 14:35

I am finding it extremely hard to get at the decorated function in the case of @superuser_only. However, I can do this without a problem with @login_required

相关标签:
回答
  • 消灭零回复
提交回复
热议问题