aboutsummaryrefslogtreecommitdiffstats
path: root/servo/forms
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-13 00:03:23 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-13 00:03:23 +0300
commit86c04e60b932b8051cde013396aec84a35eff871 (patch)
tree045510f7cd7101662fb8a7e807956a5910060ed2 /servo/forms
parent6514971850a070bd4aeb27aba85e319b852cbd97 (diff)
downloadServo-86c04e60b932b8051cde013396aec84a35eff871.tar.gz
Servo-86c04e60b932b8051cde013396aec84a35eff871.tar.bz2
Servo-86c04e60b932b8051cde013396aec84a35eff871.zip
Django 3 fixes
Diffstat (limited to 'servo/forms')
-rw-r--r--servo/forms/product.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/forms/product.py b/servo/forms/product.py
index 7e0f52e..480240d 100644
--- a/servo/forms/product.py
+++ b/servo/forms/product.py
@@ -31,7 +31,7 @@ class ProductSearchForm(forms.Form):
def __init__(self, *args, **kwargs):
super(ProductSearchForm, self).__init__(*args, **kwargs)
- tags = TaggedItem.objects.filter(content_type__model="product").distinct("tag")
+ tags = TaggedItem.objects.filter(ref="product").distinct("tag")
self.fields['tag'].queryset = tags