mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
commit
88d5f32195
@ -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