Skip to content

Commit 7dcb010

Browse files
authored
Merge pull request #740 from adamsc64/adamsc64/fix-todo-view-in-readme
Fixed missing form_class in readme
2 parents 01e7497 + 65f0c73 commit 7dcb010

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ class TodoForm(forms.Form):
130130
task = forms.CharField(min_length=2, max_length=20, required=True)
131131

132132
class TodoView(UnicornView):
133+
form_class = TodoForm
134+
133135
task = ""
134136
tasks = []
135137

0 commit comments

Comments
 (0)