diff --git a/cookbook/templates/shopping_list.html b/cookbook/templates/shopping_list.html index 8656690f..c7f114c8 100644 --- a/cookbook/templates/shopping_list.html +++ b/cookbook/templates/shopping_list.html @@ -463,7 +463,7 @@ "entries": [], "entries_display": [], "shared": [{% for u in request.user.userpreference.plan_share.all %} - {{ u.pk }}, + { 'id': {{ u.pk }}, 'username': '{{ u.get_user_name }}' }, {% endfor %}], "created_by": 1 }