mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +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::
|
||||
|
||||
>>> p = Pizza.object.create(...)
|
||||
>>> p = Pizza.objects.create(...)
|
||||
>>> t = Topping.objects.create(...)
|
||||
>>> p.toppings.add(t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user