diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2017-06-28 21:36:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-28 21:36:02 +0200 |
| commit | 0e374cd5e0ef5a9be67084365f91de2ab84f636c (patch) | |
| tree | d6b512090f6cadb9369596af666ef1bf198b63b7 /budget/api.py | |
| parent | 603ac10d6eb485c9a95f253a14d4967f4aafbfa3 (diff) | |
| download | ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.zip ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.gz ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.bz2 | |
Make all imports relative (#229)
* Make all imports relative
* Change the way the application runs in the Makefile
* Import the default settings relatively
* Fix manage.py imports
Diffstat (limited to 'budget/api.py')
| -rw-r--r-- | budget/api.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/api.py b/budget/api.py index 4b991bd..7ce6a34 100644 --- a/budget/api.py +++ b/budget/api.py @@ -2,9 +2,9 @@ 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, - get_billform_for) +from .models import db, Project, Person, Bill +from .forms import (ProjectForm, EditProjectForm, MemberForm, + get_billform_for) api = Blueprint("api", __name__, url_prefix="/api") |
