Seprating Routes Function From app.py
- 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
extentions.py
Normal file
4
extentions.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# extensions.py
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
||||
db = SQLAlchemy()
|
||||
المرجع في مشكلة جديدة
حظر مستخدم