|
@@ -2367,6 +2367,9 @@ class InitInfoView(View):
|
|
|
'userID_id': userID,
|
|
|
'region': lang
|
|
|
}
|
|
|
+ device_user = Device_User.objects.filter(userID=userID)
|
|
|
+ if not device_user.exists():
|
|
|
+ return response.json(173)
|
|
|
user_ex = UserExModel.objects.create(**create_dict)
|
|
|
|
|
|
country_ip_qs = CountryIPModel.objects.filter(user_ex_id=user_ex.id)
|