mirror of
https://github.com/Hopiu/django.git
synced 2026-05-21 21:42:01 +00:00
commit
88d5f32195
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue