[Answer]-When I try to connect two tables django raises an error "type object 'StudyRecord' has no attribute 'object'"

1👍

It should be objects, not object

0👍

When you get data from db, you need a Manager through which you can construct the QuerySet you wanted.

Each model has at least one Manager, and it’s called objects by default.

More info here.

Leave a comment