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

后端 未结 0 426
遥遥无期
遥遥无期 2021-02-11 14:41

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

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