From 049015370a73a5eb6269018ee3fb9a4dabef013d Mon Sep 17 00:00:00 2001 From: Mohammad Yameen Date: Sat, 3 Aug 2024 23:09:30 +0530 Subject: [PATCH] Added the missing definition for 'john' to ensure the example of adding members to 'beatles' works correctly. --- docs/topics/db/models.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index aefb35ed9c..1d2f0eea24 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -525,6 +525,7 @@ the intermediate model: >>> ringo = Person.objects.create(name="Ringo Starr") >>> paul = Person.objects.create(name="Paul McCartney") + >>> john = Person.objects.create(name="John Wick") >>> beatles = Group.objects.create(name="The Beatles") >>> m1 = Membership( ... person=ringo,