Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for CachedReferenceField #302

Open
ScriptProdigy opened this issue Mar 1, 2017 · 3 comments
Open

Add Support for CachedReferenceField #302

ScriptProdigy opened this issue Mar 1, 2017 · 3 comments

Comments

@ScriptProdigy
Copy link

ScriptProdigy commented Mar 1, 2017

I am using Flask-Admin on a project and recently changed some of my ReferenceField's to CachedReferenceField's in order to save myself some execution time on lookups, however this introduced a new issue where Flask-Admin no longer provides input for the CachedReferenceField's on the creation of objects. I've narrowed the problem down to flask-mongoengine wtf forms not supporting them.

Any assistance in getting my project to support them would be greatly appreciated!

@ScriptProdigy
Copy link
Author

CachedReferenceField in MongoEngine docs
http://docs.mongoengine.org/apireference.html#mongoengine.fields.CachedReferenceField

@ScriptProdigy
Copy link
Author

Still a thing 3 years later :(

@insspb
Copy link
Collaborator

insspb commented Jul 28, 2022

Hi @ScriptProdigy , excuse for long reply.
I am currently rewriting complete engine, and expect to implement CachedReferenceField there.
But at the same time I looked at flask-mongoengine code, that are used in flask-admin, and it is outdated. they use pinned version, so our side changes will not work there.

More over the code there was not updated for.... Years... As well some time ago here....

I keep in mind an idea to integrate flask-admin from our side, but it will not happen very soon, unless somebody will want to start adapt their contribs here, with new generation engine.

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

No branches or pull requests

2 participants