Quantcast
Channel: A simple library using Flask and SQLAlchemy - Code Review Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by 301_Moved_Permanently for A simple library using Flask and SQLAlchemy

Your database management is kind of a mess:SQLAlchemy recommend to keep your sessions scope the same than your requests scope;Having a single, global, session and closing it after a request mean that...

View Article



Answer by Richard Neumann for A simple library using Flask and SQLAlchemy

Document with docstrings.Your functions and ORM models are currently not providing any useful documentation regarding their respective function within your program.Don't initialize the database on...

View Article

A simple library using Flask and SQLAlchemy

This is the main.py script that does most of the work of Adding movies (Movie objects) as well as modifying and removing:from flask import Flask, render_template, request, flash, url_for,...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images