aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget/web.py')
-rw-r--r--budget/web.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/web.py b/budget/web.py
index b5a68a6..a9f70cb 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -11,8 +11,8 @@ and `add_project_id` for a quick overview)
from flask import Blueprint, current_app, flash, g, redirect, \
render_template, request, session, url_for
-from flaskext.mail import Mail, Message
-from flaskext.babel import get_locale, gettext as _
+from flask.ext.mail import Mail, Message
+from flask.ext.babel import get_locale, gettext as _
from smtplib import SMTPRecipientsRefused
import werkzeug
@@ -390,7 +390,7 @@ def settle_bill():
return render_template("settle_bill.html", bills=bills)
-@main.route("/<project_id>/archives/create")
+@main.route("/<project_id>/archives/create", methods=["GET", "POST"])
def create_archive():
form = CreateArchiveForm()
if request.method == "POST":