mirror of https://github.com/django/django.git
commit
88d5f32195
|
@ -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…
Reference in New Issue