Commit fe06d96d by Darren Maki

Fixing quotes in filtering.md

Incorrect quotes used in examples.
parent d4d77395
...@@ -193,7 +193,7 @@ filters using `Manufacturer` name. For example: ...@@ -193,7 +193,7 @@ filters using `Manufacturer` name. For example:
class ProductFilter(django_filters.FilterSet): class ProductFilter(django_filters.FilterSet):
class Meta: class Meta:
model = Product model = Product
fields = ['category', 'in_stock', 'manufacturer__name`] fields = ['category', 'in_stock', 'manufacturer__name']
This enables us to make queries like: 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 ...@@ -211,7 +211,7 @@ This is nice, but it exposes the Django's double underscore convention as part o
class Meta: class Meta:
model = Product model = Product
fields = ['category', 'in_stock', 'manufacturer`] fields = ['category', 'in_stock', 'manufacturer']
And now you can execute: And now you can execute:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment