- version : 2.1 - description : I have applied the seperation in the backend code and fixed some errors here and there ...like the typing error in routes/students.py ... I have replaced it with 'Any' type until I find A better solution for that . //############################################// modified: app.py new file: extentions.py new file: routes/__init__.py new file: routes/csv.py new file: routes/points.py new file: routes/students.py //############################################//
4 أسطر
74 B
Python
4 أسطر
74 B
Python
# extensions.py
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
db = SQLAlchemy() |