Add Restful API for API.

This commit is contained in:
Alexis Lahouze 2015-06-11 23:31:39 +02:00
parent 4a0e05eae8
commit c62941a704

View File

@ -15,8 +15,10 @@
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
"""
from flask import Blueprint
from flask.ext.restful import Api
api = Blueprint('api', __name__)
api_api = Api(api)
# Load all views.
from .views import *