Paulinakhew / web_trader

📊 Python Flask game that consolidates data from Nasdaq, allowing the user to practice buying and selling stocks.
MIT License
27 stars 19 forks source link

User should not be able to make another account with duplicate usernames #15

Closed Paulinakhew closed 5 years ago

Paulinakhew commented 5 years ago
Paulinakhew commented 5 years ago

Fixed the error by adding a try: and except: statement in the function in the model.py file. I then added an if statement for the alert that is mapped to the cannot_create boolean. Screen Shot 2019-06-17 at 12 48 43 PM