8000 Querying in a seperate file · Issue #7 · mardix/active-alchemy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Querying in a seperate file #7
Open
@erobert98

Description

@erobert98

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0