From c62941a70482cd17a8157a8a38c7076e3281fc3d Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 11 Jun 2015 23:31:39 +0200 Subject: [PATCH] Add Restful API for API. --- accountant/api/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accountant/api/__init__.py b/accountant/api/__init__.py index d3bcba0..aa7819a 100644 --- a/accountant/api/__init__.py +++ b/accountant/api/__init__.py @@ -15,8 +15,10 @@ along with Accountant. If not, see . """ from flask import Blueprint +from flask.ext.restful import Api api = Blueprint('api', __name__) +api_api = Api(api) # Load all views. from .views import *