mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Fix typo
This commit is contained in:
parent
f325f86971
commit
6fcb7ba842
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user