From 5b176fc672a89cc3711a6e581d076ad8be25c516 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 23 Jul 2012 21:48:26 -0500 Subject: 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 --- todolists/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'todolists') diff --git a/todolists/views.py b/todolists/views.py index b9ba090..580ec00 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' } -- cgit v1.2.3-24-g4f1b