aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2014-09-08 09:54:29 +0100
committerTom Christie2014-09-08 09:54:29 +0100
commitdc279530c7a19a4b258601991a177b90ee99daca (patch)
treeb26b8d9b71a608dcafb5f0495624d53f9db00112
parent880ec3fe97d6b19c4609befe45129c23daa95e90 (diff)
parentfe06d96dec0182f56fd4e72bcd71a26c923bb834 (diff)
downloaddjango-rest-framework-dc279530c7a19a4b258601991a177b90ee99daca.tar.bz2
Merge pull request #1846 from barqshasbite/patch-1
Fixing quotes in filtering.md example code.
-rw-r--r--docs/api-guide/filtering.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/filtering.md b/docs/api-guide/filtering.md
index ec5ab61f..cfeb4334 100644
--- a/docs/api-guide/filtering.md
+++ b/docs/api-guide/filtering.md
@@ -193,7 +193,7 @@ filters using `Manufacturer` name. For example:
class ProductFilter(django_filters.FilterSet):
class Meta:
model = Product
- fields = ['category', 'in_stock', 'manufacturer__name`]
+ fields = ['category', 'in_stock', 'manufacturer__name']
This enables us to make queries like:
@@ -211,7 +211,7 @@ This is nice, but it exposes the Django's double underscore convention as part o
class Meta:
model = Product
- fields = ['category', 'in_stock', 'manufacturer`]
+ fields = ['category', 'in_stock', 'manufacturer']
And now you can execute: