users下的views.py定义了CustomBackend,import了UserProfile报错
来源:6-3 用户登录-2
 
			慕码人6221433
2017-07-30
users下的views.py定义了CustomBackend,import了UserProfile报这个Model class apps.users.models.UserProfile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS错,按理说UserProfile不需要在INSTALLED_APPS中定义呀,而且试过加了会报另一个错
写回答
	4回答
- 
				  精慕门0028267 2017-12-04 在导入时写成 users.models 不要写 .models 10
- 
				  慕粉2125289011 2018-01-17 我也是这样,.models不行,改成users.models 就好了。 00
- 
				  慕娘5474533 2017-12-04 我也有一样的问题, 请问后来如何解决的? 012017-12-04
- 
				  bobby 2017-07-31 你给我发个qq消息我看看呢 062017-08-16
相似问题
 
						 
						 
						