Django重写用户模型报错has no attribute 'USERNAME_FIELD'
目录
Django重写用户模型报错has no attribute 'USERNAME_FIELD'
在重写用户模型时报错:AttributeError: type object ‘UserProfile’ has no attribut...
如下:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;
using System.Wi...