summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-23 21:48:26 -0500
committerDan McGee <dan@archlinux.org>2012-07-23 21:48:26 -0500
commit5b176fc672a89cc3711a6e581d076ad8be25c516 (patch)
tree9f07e6fe4ccd33d73dc0eb70ac6bd765b583805f /todolists
parent9ab460c53a1ac4c79da6f05f2850ee21beedbab2 (diff)
Add blank description to todo list creation and editing
This is a field shown on the general_form.html, and shows up as @@@INVALID@@@ in development environments. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/todolists/views.py b/todolists/views.py
index b9ba0903..580ec00f 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -88,6 +88,7 @@ def add(request):
page_dict = {
'title': 'Add Todo List',
+ 'description': '',
'form': form,
'submit_text': 'Create List'
}
@@ -110,6 +111,7 @@ def edit(request, list_id):
page_dict = {
'title': 'Edit Todo List: %s' % todo_list.name,
+ 'description': '',
'form': form,
'submit_text': 'Save List'
}