aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views/order.py
diff options
context:
space:
mode:
Diffstat (limited to 'servo/views/order.py')
-rw-r--r--servo/views/order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/order.py b/servo/views/order.py
index ff1c216..4db8c4a 100644
--- a/servo/views/order.py
+++ b/servo/views/order.py
@@ -742,7 +742,7 @@ def add_part(request, pk, device, code):
try:
tag, created = TaggedItem.objects.get_or_create(
- content_type__model="product",
+ ref="product",
object_id=product.pk,
tag=device.description
)