Add Restful API for API.
This commit is contained in:
1 parent
4a0e05eae8
commit
c62941a704
1 file changed
+2
@@ -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 *
|
||||
Reference in new issue
Block a user