Test username

This commit is contained in:
CHIEFSOFT\ameye
2025-01-08 08:19:46 -05:00
parent 25f719cdbe
commit a499bbe544
+1
View File
@@ -382,6 +382,7 @@ def complete_register():
country= data.get('country')
FIND_USERNAME= f"SELECT * FROM members WHERE username::text = '{username}' "
print(FIND_USERNAME)
with connection:
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
cursor.execute(FIND_USERNAME)