Closed ansuuuuuuu closed 5 months ago
Well done! Getting an error however, when I load /index.
"""
guessed_session = GuessSession.query.filter_by(user_id=current_user.id, sketch_id=sketch.id).first() NameError: name 'GuessSession' is not defined
"""
Will try fix.
New error:
""" guessed_session = GuessSession.query.filter_by(user_id=current_user.id, sketch_id=sketch.id).first() AttributeError: 'AnonymousUserMixin' object has no attribute 'id' """
Will try fix.
Fixed the above errors but finding other issues too.
Needs to be fixed and tested further before merging :) @ansuuuuuuu
I adapted this PR @ansuuuuuuu in #41
Now merged and completed, well done.
main changes made here: