Share your repls and programming experiences

← Back to all posts
Simple Account System
BeaverBeg (19)

Hello after a small break! I just wanna show you my Account System using database from repl it.
have fun!

Comments
hotnewtop
Brendan23 (137)

@BeaverBeg I got this error:
Traceback (most recent call last):
File "main.py", line 6, in <module>
KEY = config('KEY')
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/decouple.py", line 199, in call
return self.config(args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/decouple.py", line 83, in call
return self.get(
args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/decouple.py", line 68, in get
raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option))
decouple.UndefinedValueError: KEY not found. Declare it as envvar or define a default value.