阅读背景:

如何使用基于is_authenticated vs is_superuser的generic.TemplateView设置template_name?

来源:互联网 

I'm using Django. I'm attempting to set the template to use based on the django user access level. As you can see I'm using the LoginRequiredMixin and generic.TemplateView.I'm using Django. I'm attempting to set the tem




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: