mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Removed some unnecessary __exact operators in filters.
This commit is contained in:
parent
298a2b577f
commit
b87c59b04b
11 changed files with 17 additions and 17 deletions
|
@ -113,7 +113,7 @@ This of course works in reverse::
|
|||
|
||||
>>> Place.objects.get(pk=1)
|
||||
<Place: Demon Dogs the place>
|
||||
>>> Place.objects.get(restaurant__place__exact=p1)
|
||||
>>> Place.objects.get(restaurant__place=p1)
|
||||
<Place: Demon Dogs the place>
|
||||
>>> Place.objects.get(restaurant=r)
|
||||
<Place: Demon Dogs the place>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue