On 09/06/2016 11:12 AM, TomS. wrote:
Hi,
In my model I am not allowed to use FK. I've been trying to figure out
how one to many/many to one relationship should be properly defined or
in which class to be sure that it works as expected. I've recently used
very similar example - here it is:
cla
Hi,
In my model I am not allowed to use FK. I've been trying to figure out
how one to many/many to one relationship should be properly defined or
in which class to be sure that it works as expected. I've recently used
very similar example - here it is:
class DepTest(db.Model):
__tablena