diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2012-03-07 02:41:29 -0800 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-03-07 02:41:29 -0800 |
| commit | 757e86baa1ae3b2bc980fc7a1af2a085b702224c (patch) | |
| tree | 415b72cb6f781cd207dac15897c44beb610c3872 /budget/api.py | |
| parent | 1dbfc554c870c489b5f56888c758a72acc4eb18c (diff) | |
| parent | 46d2dfeb298cfbde710358c6ff361478b358d3af (diff) | |
| download | ihatemoney-mirror-757e86baa1ae3b2bc980fc7a1af2a085b702224c.zip ihatemoney-mirror-757e86baa1ae3b2bc980fc7a1af2a085b702224c.tar.gz ihatemoney-mirror-757e86baa1ae3b2bc980fc7a1af2a085b702224c.tar.bz2 | |
Merge pull request #82 from feth/master
review, pep8 and star imports
Diffstat (limited to 'budget/api.py')
| -rw-r--r-- | budget/api.py | 9 |
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") |
