Skip to content

Commit

Permalink
Update blueprints.py
Browse files Browse the repository at this point in the history
Updated to Flask_Smorest blueprints for better documentation,
  • Loading branch information
thepolkamonster authored Sep 1, 2023
1 parent 2c55fc2 commit 67ecc81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/blueprints.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import flask_login as login
import requests
from flask import Blueprint, make_response, redirect, request, url_for
from flask_smorest import Blueprint
from flask import make_response, redirect, request, url_for
from flask_admin import Admin, AdminIndexView, expose
from flask_admin import helpers as admin_helpers
from flask_admin.contrib.sqla import ModelView
Expand Down Expand Up @@ -83,7 +84,7 @@ def logout_view(self):
return redirect(url_for('.index'))


home_routes = Blueprint('home', __name__)
home_routes = Blueprint('home', __name__ , description = "Home Routes Blueprint")


# Flask views
Expand Down

0 comments on commit 67ecc81

Please sign in to comment.