diff --git a/apps/dashboard/tests.py b/apps/dashboard/tests.py index f309198..14e9f01 100644 --- a/apps/dashboard/tests.py +++ b/apps/dashboard/tests.py @@ -8,23 +8,9 @@ class HomePageTest(TestCase): def test_renders_input_form(self): response = self.client.get('/') - self.assertContains(response, '
') + self.assertContains(response, '') self.assertContains(response, '') + self.assertContains(response, '') self.assertContains(response, '

Dashboard | Start a new to-do list

- + {% csrf_token %}
diff --git a/templates/apps/dashboard/list.html b/templates/apps/dashboard/list.html index 7886c28..58585ad 100644 --- a/templates/apps/dashboard/list.html +++ b/templates/apps/dashboard/list.html @@ -4,7 +4,7 @@

Your To-Do List

-
+ {% csrf_token %}