removed src folder, refactored

This commit is contained in:
0ceanSlim 2024-02-28 15:27:44 -05:00
parent 5bba8e6947
commit 08d14b61d1
11 changed files with 10 additions and 13 deletions

View File

@ -1,5 +1,5 @@
from flask import jsonify, Blueprint from flask import jsonify, Blueprint
from ..util.utils import breeding_pair_data from utils.utils import breeding_pair_data
get_breeding_pairs_bp = Blueprint('breeding_pairs',__name__) get_breeding_pairs_bp = Blueprint('breeding_pairs',__name__)

View File

@ -1,5 +1,5 @@
from flask import jsonify, Blueprint from flask import jsonify, Blueprint
from ..util.utils import breeding_pair_data from utils.utils import breeding_pair_data
get_breeding_usage_bp = Blueprint('breeding_usage',__name__) get_breeding_usage_bp = Blueprint('breeding_usage',__name__)

19
app.py
View File

@ -1,17 +1,14 @@
from flask import Flask, render_template from flask import Flask, render_template
from src.util.utils import * from api.get_monsters import *
from api.get_families import *
from api.get_monster_stats import *
from api.get_breeding_pairs import *
from api.get_breeding_usage import *
from api.get_skills_data import *
from src.api.get_monsters import * from utils.utils import *
from src.api.get_families import * from utils.serve_media import *
from src.api.get_monster_stats import *
from src.api.get_breeding_pairs import *
from src.api.get_breeding_usage import *
from src.api.get_skills_data import *
from src.util.serve_media import *
#from src.views.skills import *
app = Flask(__name__) app = Flask(__name__)