阅读背景:

Login_Required Django不能使用FormView

来源:互联网 

I have a FormView that is basically a product page. You can view product details and request the product from a form on that page. I want the page to be set up so that anyone can view the page, but only people that are logged in can request the product. To do this, I added a login_required decorator to the post function in the FormView, but I get the error:I have a FormView that is basically a product p




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

分享到: