Re: [sqlalchemy] Referencing the value of a table linked by a foreign Key

2019-03-11 Thread Simon King
On Sat, Mar 9, 2019 at 1:58 PM C wrote: > > Hello every one, > > I am new on Python/SqlAlchemy and I try to develop an app but I can't find > how to display the name of people and not their foreignkey when I reference > them, could you help me ? > > Here are my classes : > > > > from

[sqlalchemy] Referencing the value of a table linked by a foreign Key

2019-03-09 Thread C
Hello every one, I am new on Python/SqlAlchemy and I try to develop an app but I can't find how to display the name of people and not their foreignkey when I reference them, could you help me ? Here are my classes : from application.main import db class Lettre(db.Model):