diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 00:03:23 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 00:03:23 +0300 |
commit | 86c04e60b932b8051cde013396aec84a35eff871 (patch) | |
tree | 045510f7cd7101662fb8a7e807956a5910060ed2 /servo/views/product.py | |
parent | 6514971850a070bd4aeb27aba85e319b852cbd97 (diff) | |
download | Servo-86c04e60b932b8051cde013396aec84a35eff871.tar.gz Servo-86c04e60b932b8051cde013396aec84a35eff871.tar.bz2 Servo-86c04e60b932b8051cde013396aec84a35eff871.zip |
Django 3 fixes
Diffstat (limited to 'servo/views/product.py')
-rw-r--r-- | servo/views/product.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/product.py b/servo/views/product.py index 4c7f96f..47b9018 100644 --- a/servo/views/product.py +++ b/servo/views/product.py @@ -82,7 +82,7 @@ def tags(request): Returns all product tags """ from servo.lib.utils import json_response - tags = TaggedItem.objects.filter(content_type__model="product") + tags = TaggedItem.objects.filter(ref="product") tags = tags.distinct("tag").values_list("tag", flat=True) return json_response(list(tags)) |