摘要: 1: 在views中用户表添加:class userinfo: avatar = models.FileField(upload_to='avatars/', default="/avatars/default.png") avatar=request.FILES.get("avatar_img") UserInfo.objects.create_user(userna... 阅读全文
posted @ 2018-05-23 14:51 银鑫 阅读(7281) 评论(0) 推荐(0) 编辑