We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2aa0e commit cf81904Copy full SHA for cf81904
docs/source/topics/embedded-models.rst
@@ -26,7 +26,7 @@ Let's consider this example::
26
The API is similar to that of Django's relational fields::
27
28
>>> Customer.objects.create(name="Bob", address=Address(city="New York", ...), ...)
29
- >>> bob = Customer.objects.get(...)
+ >>> bob = Customer.objects.get(name="Bob")
30
>>> bob.address
31
<Address: Address object>
32
>>> bob.address.city
0 commit comments