active-alchemy
active-alchemy copied to clipboard
Querying in a seperate file
I have set up the models in a model.py page which has classes Article and Website, how can i query those in another page without importing from the model page? Is this possible? I need to write a function that is called in model.py that also queries the db and i cant seem to figure out how to do it without from model import article and running into a circular dependency