aboutsummaryrefslogtreecommitdiff
path: root/budget/api.py
diff options
context:
space:
mode:
authorFrédéric Sureau <frederic.sureau@gmail.com>2012-03-28 17:02:02 +0200
committerFrédéric Sureau <frederic.sureau@gmail.com>2012-03-28 17:02:02 +0200
commitc343bf96ea971b7a4d1dd75320f316844a0b3262 (patch)
tree6f0228993d7a437f7ee8eb00ab8e71850832a0aa /budget/api.py
parent71cb07a92b65579f45152ca09c0597e90fd7b484 (diff)
parent757e86baa1ae3b2bc980fc7a1af2a085b702224c (diff)
downloadihatemoney-mirror-c343bf96ea971b7a4d1dd75320f316844a0b3262.zip
ihatemoney-mirror-c343bf96ea971b7a4d1dd75320f316844a0b3262.tar.gz
ihatemoney-mirror-c343bf96ea971b7a4d1dd75320f316844a0b3262.tar.bz2
Merge branch 'master' of git://github.com/spiral-project/ihatemoney
Diffstat (limited to 'budget/api.py')
-rw-r--r--budget/api.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/budget/api.py b/budget/api.py
index 4ca04f2..ec664b6 100644
--- a/budget/api.py
+++ b/budget/api.py
@@ -1,13 +1,10 @@
# -*- coding: utf-8 -*-
-from flask import *
+from flask import Blueprint, request
+from flask_rest import RESTResource, need_auth
from models import db, Project, Person, Bill
-from forms import (ProjectForm, EditProjectForm, MemberForm, BillForm,
+from forms import (ProjectForm, EditProjectForm, MemberForm,
get_billform_for)
-from utils import for_all_methods
-
-from flask_rest import RESTResource, need_auth
-from werkzeug import Response
api = Blueprint("api", __name__, url_prefix="/api")