Tagged Questions
1
vote
1answer
57 views
Python flask web app, simplification
I am writing web application using flask framework + mongodb. I have an issue, should I use classes for my mongo entities or just use dictionaries for them.
class School:
def __init__(self, num, ...
1
vote
2answers
170 views
Database calls with Python Flask and SQLAlchemy
I am creating a Python Flask webservice and this is basically how I am doing all of my database calls if a webservice needs to interact with the database:
@event.route("/somepath/<value>", ...
1
vote
0answers
315 views
flask-SQLAlchemy models and unit-testing
I believe this post belongs here vs stackoverflow or Database administrators but let me know if i'm wrong. This is my first time building anything remotely like a robust database. I'm midway through ...