Add Restful API for API.
1 parent
4a0e05eae8
commit
c62941a704
1 file changed
+2
@@ -15,8 +15,10 @@
|
|||||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
from flask import Blueprint
|
from flask import Blueprint
|
||||||
|
from flask.ext.restful import Api
|
||||||
|
|
||||||
api = Blueprint('api', __name__)
|
api = Blueprint('api', __name__)
|
||||||
|
api_api = Api(api)
|
||||||
|
|
||||||
# Load all views.
|
# Load all views.
|
||||||
from .views import *
|
from .views import *
|
||||||
Reference in new issue
Block a user