Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Using Models & Mixing with other mongoengine Models #41

Open
jeremyhawkins1 opened this issue Oct 20, 2019 · 0 comments
Open

Using Models & Mixing with other mongoengine Models #41

jeremyhawkins1 opened this issue Oct 20, 2019 · 0 comments

Comments

@jeremyhawkins1
Copy link

I am looking for help with how to integrate this with an existing flask project that already uses mongoengine models.

I have this working, but only with manually entered tasks. I can't seem to figure out how to load the tasks from the database or create new ones and save them in.

Issues that I am running in with are errors about no default connections or a default connection already exists and sometimes authentication errors.

for the celery setup i have included the username and password in the connection URL, but when I try to interact within the main app it seems that it isn't using the same url for the connection.

I am using mongoengine to manage documents for another aspect of this same app. That is working and it does use the same database it uses a different login. I have checked and both of these logins have the same access to the schedule collection since they run in the same database. Is there an issue with using mongoengine for multiple purposes within the same app?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant