Skip to content

Commit 283e357

Browse files
fix - hello world
1 parent c7ab5d6 commit 283e357

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playground/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ class HelloWorldTest(TestCase):
66
def test_hello_world(self):
77
response = self.client.get(reverse("hello-world"))
88
self.assertEqual(response.status_code, 200)
9-
self.assertContains(response, "Hello World")
9+
self.assertContains(response, "Hello World!")

playground/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def hello_world(request):
5-
return JsonResponse({"message": "Hello World"})
5+
return JsonResponse({"message": "Hello World!"})

0 commit comments

Comments
 (0)