About Me - The Short Story

I am a lonely Python/C++ coder with a background in financial markets and an interest in modern art. I am an application-driven guy, not a computer scientist. Sure I have many gaps in my knowledge, but I strive to do my best to fill them. I keep learning new things, listening to smart guys, correcting my mistakes, and pushing myself to the limits. I enjoy it.

I will use this website both as a blog and as a hub to some of my projects. It is written from scratch in Python's Flask, my favourite web-framework.


Creating one to many relationship in Flask-SQLAlchemy

In this post, I want to make clear how to set up a one-to-many relationship in Flask SQLAlchemy. Properly placing the foreign keys and references to the parent tables might be confusing especially at the beginning. At least for me, it was....

databases 
sqlalchemy 
orm 
flask