added email
This commit is contained in:
@@ -542,8 +542,8 @@ def complete_register():
|
||||
password
|
||||
)
|
||||
|
||||
CREATE_USER = 'INSERT INTO members (username,password,account_name,firstname,lastname,country) VALUES(%s,%s,%s,%s,%s,%s)'
|
||||
create_values = (username, encrypt_password ,'ACCOUNT NAME ', user_array[0]['firstname'],user_array[0]['lastname'],country)
|
||||
CREATE_USER = 'INSERT INTO members (username,password,account_name,firstname,lastname,country) VALUES(%s,%s,%s,%s,%s,%s,%s)'
|
||||
create_values = (username, encrypt_password ,'ACCOUNT NAME ', user_array[0]['firstname'],user_array[0]['lastname'],country,user_array[0]['email'])
|
||||
print(create_values)
|
||||
with connection:
|
||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||
@@ -1051,4 +1051,4 @@ def myproduct_detail(member_id ,product_id):
|
||||
"promotion_text": "Start Free Today !",
|
||||
"price_text" : "90 days free and 3.95/Month",
|
||||
}
|
||||
return myproduct_data;
|
||||
return myproduct_data
|
||||
|
||||
Reference in New Issue
Block a user