Add Restful API for API.
This commit is contained in:
parent
4a0e05eae8
commit
c62941a704
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user