flask-mongoengine
flask-mongoengine copied to clipboard
MongoEngine flask extension with WTF model forms support
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...
Explain: - [ ] New installation behavior - [ ] Recommended approach to config configuration - [ ] New restriction to passing arguments on model field definition - [ ]...
Example: ``` class Profile(db.EmbeddedDocument): login = db.StringField() pw_hash = db.StringField() admin = db.BooleanField() class Users(db.Document): _id = db.ObjectIdField() stocks = db.DictField() profile = db.EmbeddedDocumentField(Profile) ``` If I use exclude like...
Hey, I am building a REST API server via flask-restx (a fork of flask-restplus, which is a fork of flask-restful). In those extensions, they have models, for representing, validating and...
The SameSite attribute is ignored when flask-mongoengine session interface is used. See save_session in flask-mongoengine and flask: https://github.com/MongoEngine/flask-mongoengine/blob/master/flask_mongoengine/sessions.py#L79 https://github.com/pallets/flask/blob/main/src/flask/sessions.py#L373
I am not very good in HTML/CSS and front-end at all. So I need help with some adjustments of code for Mongo Debug Toolbar Panel included in master branch or...
When you create a pagination, it doesn't take into account any .limit() or .skip() that has already been done to the QuerySet being inputted. For example, if I do articles.objects().limit(3),...
I'm using the form generator to avoid creating forms and having redundant code. I've got two suggestions that could be useful: 1. When using jinja2 and WTForms `{{ form.submit }}`...