I am trying to follow the instructions from the following tutorial:
I downloaded the code from the following repo:
However when I run it locally and try to add something to the database, I get the following error:
builtins.KeyError
KeyError: 'SQLALCHEMY_TRACK_MODIFICATIONS'
When I tried to read the traceback, I realised that even if I add a variable SQLALCHEMY_TRACK_MODIFICATIONS to the config file, some python library file is unable to recognise it exists.
Looks like there is another answer to a similar question, but that was more like a quick fix, not why this is happening.
I would like to know why this is happening and how to fix it.Preferably without changing the whole structure.
Thanks a lot in advance.