'QueryDict'对象没有属性'is_authenticated'

时间:2020-06-14 21:14:36

标签: django

这是我的登录视图功能

lasso
The lasso 

506 samples
 13 predictor

Pre-processing: centered (13), scaled (13) 
Resampling: Cross-Validated (10 fold) 
Summary of sample sizes: 51, 51, 51, 50, 51, 50, ... 
Resampling results across tuning parameters:

  fraction  RMSE      Rsquared   MAE     
  0.001     9.182599  0.5075081  6.646013
  0.010     9.022117  0.5075081  6.520153
  0.100     7.597607  0.5572499  5.402851
  1.000     6.158513  0.6033310  4.140362

RMSE was used to select the optimal model using the smallest value.
The final value used for the model was fraction = 1.

刷新网页时 我收到此错误:

“ QueryDict”对象没有属性“ is_authenticated”

当我打印(用户)时,它显示给我: 我有什么错误?

0 个答案:

没有答案