Print data
This commit is contained in:
@@ -377,6 +377,8 @@ def complete_register():
|
|||||||
is_validated = validate.validate_complete_signup_data(data.get('username'), data.get('password'), data.get('country'))
|
is_validated = validate.validate_complete_signup_data(data.get('username'), data.get('password'), data.get('country'))
|
||||||
if is_validated is not True:
|
if is_validated is not True:
|
||||||
return dict(message='Invalid data', data=None, error=is_validated), 400
|
return dict(message='Invalid data', data=None, error=is_validated), 400
|
||||||
|
|
||||||
|
print(data)
|
||||||
username= data.get('username')
|
username= data.get('username')
|
||||||
password= data.get('password')
|
password= data.get('password')
|
||||||
country= data.get('country')
|
country= data.get('country')
|
||||||
|
|||||||
Reference in New Issue
Block a user