aboutsummaryrefslogtreecommitdiff
path: root/budget/forms.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-06-28 21:36:02 +0200
committerGitHub <noreply@github.com>2017-06-28 21:36:02 +0200
commit0e374cd5e0ef5a9be67084365f91de2ab84f636c (patch)
treed6b512090f6cadb9369596af666ef1bf198b63b7 /budget/forms.py
parent603ac10d6eb485c9a95f253a14d4967f4aafbfa3 (diff)
downloadihatemoney-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/forms.py')
-rw-r--r--budget/forms.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/budget/forms.py b/budget/forms.py
index 06df743..bd7fc5b 100644
--- a/budget/forms.py
+++ b/budget/forms.py
@@ -7,10 +7,11 @@ from flask_babel import lazy_gettext as _
from flask import request
from wtforms.widgets import html_params
-from models import Project, Person
from datetime import datetime
from jinja2 import Markup
-from utils import slugify
+
+from .models import Project, Person
+from .utils import slugify
def get_billform_for(project, set_default=True, **kwargs):
"""Return an instance of BillForm configured for a particular project.