summaryrefslogtreecommitdiff
path: root/app/views/categories.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 22:57:17 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 22:57:17 +0100
commit2bbf3bf2d37b319f06bc9e3a1c6d9097aa287bfa (patch)
treeecb227370aadc3e6256e074bdb72c00b1f141b94 /app/views/categories.py
parentec69bf1dc3be9eb2ebf971943539d77fb70f83c6 (diff)
downloadkosten-2bbf3bf2d37b319f06bc9e3a1c6d9097aa287bfa.tar.gz
kosten-2bbf3bf2d37b319f06bc9e3a1c6d9097aa287bfa.tar.bz2
kosten-2bbf3bf2d37b319f06bc9e3a1c6d9097aa287bfa.zip
Fixes and cleanup and documentation
Diffstat (limited to 'app/views/categories.py')
-rw-r--r--app/views/categories.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/categories.py b/app/views/categories.py
index 0bb64ef..ca9b828 100644
--- a/app/views/categories.py
+++ b/app/views/categories.py
@@ -9,8 +9,12 @@ mod = Blueprint('categories', __name__)
@mod.route('/', methods=('GET', 'POST'))
@login_required
@templated
-def manage ():
+def manage():
+ """Workhorse: List and edit/create. For historic reasons,
+ everything is done in JavaScript.
+ NB: No deletion possible yet.
+ """
if request.method == 'GET':
categories = Category.of(current_user).order_by(Category.name).all()