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 eeb6b30 commit c3997e0Copy full SHA for c3997e0
DjangoEcommerceApp/filters.py
@@ -0,0 +1,7 @@
1
+import django_filters
2
+from DjangoEcommerceApp.models import Products
3
+
4
+class ProductFilter(django_filters.FilterSet):
5
+ class Meta:
6
+ model = Products
7
+ fields = ['product_name' ,'brand', 'product_max_price', 'product_discount_price']
0 commit comments