-
Currently the models all use vanilla SQLAlchemy model, which is fine. However, it's unwieldy to use in Flask in big applications, which is why I suggest to move them into the Flask-SQLAlchemy extensio…
-
So if my `__init__.py` has:
`db = SQLAlchemy()`
`def create_app(config_filename):`
`app = flask.Flask(__name__)`
`app.config.from_pyfile(config_filename)`
`db.init_app(app)`
Everything w…
-
Since more people are familiar with Flask, we are going to try using this as the platform to connect our database to an API that can be queried by the front end. The scope of this ticket is to set up …
-
Hi, @miguelgrinberg first of all, congratulations for your job.
I'm trying to use Socke.IO to broadcast messages to connected clients. First, I did this synchronously and worked well, exactly how I ho…
ghost updated
7 years ago
-
Installing flask-rest-jsonapi will also install pymongo even if I don't use MongoDB. The problem is that pymongo conflicts with other bson implementations which hit me in one project.
Is pymongo a…
-
I'll fix this but let me describe the problem and get some info about how the PK is used.
There are two primary key strategies happening in the code base:
1) An [auto-incrementing Integer](https://…
-
I'm trying to figure out doing REST queries to edit data and not finding a lot of documentation / examples. I can do a GET on https://localhost/contactmodelview/json to get a dump of the table in json…
-
**As a** developer
**I need** to create CRUD Restful API Calls
**So that** we can perform various actions on our data sources.
**Acceptance Criteria:**
```
I should be able to add, remove, v…
-
I'm using Flask-Admin for CRUD maintenance.
When saving a document with `db.ListField(gj.FollowReferenceField(MyObject)`, the reference field behaves like an EmbeddedDocumentField. That is, the refere…
-
I see projects like flask-admin and formalchemy. Figure out what to use and implement a basic admin to do the basic CRUD stuff.