mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fix typo
This commit is contained in:
@@ -284,7 +284,7 @@ If we connected a handler like this::
|
|||||||
|
|
||||||
and then did something like this::
|
and then did something like this::
|
||||||
|
|
||||||
>>> p = Pizza.object.create(...)
|
>>> p = Pizza.objects.create(...)
|
||||||
>>> t = Topping.objects.create(...)
|
>>> t = Topping.objects.create(...)
|
||||||
>>> p.toppings.add(t)
|
>>> p.toppings.add(t)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user