diff --git a/TODO b/TODO index a759652..00421ab 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,4 @@ * use flask.instance_path to get/store configuration. See http://flask.pocoo.org/docs/config/#instance-folders -* Attach the current projec to g and modify the url_for to use it. http://flask.pocoo.org/docs/patterns/urlprocessors/ * Use class based views to factorize the code if there is some code to factorize, see http://flask.pocoo.org/docs/views/ -* Use request.args.get('next') to redirect when authenticating -* Move the flask app to __init__.py (http://flask.pocoo.org/docs/patterns/packages/) * Eventually move the url definition into a specific section * Render templates automatically using a decorator. see http://stackoverflow.com/questions/7054099/using-flask-blueprint-for-some-static-pages/7056374#7056374 diff --git a/budget/__init__.py b/budget/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/budget/forms.py b/budget/forms.py index fe14288..51da01f 100644 --- a/budget/forms.py +++ b/budget/forms.py @@ -7,14 +7,13 @@ from datetime import datetime def select_multi_checkbox(field, ul_class='', **kwargs): kwargs.setdefault('type', 'checkbox') field_id = kwargs.pop('id', field.id) - html = [u'