From 23f732a04e2cdbd241007af6226976afa967d407 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Wed, 13 Nov 2024 21:14:23 -0300 Subject: [PATCH] fixed user_properties list not working --- device/templates/details.html | 2 +- device/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device/templates/details.html b/device/templates/details.html index 21f9707..f710f19 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -138,7 +138,7 @@ - {% for a in object.get_user_annotations %} + {% for a in object.get_user_properties %} {{ a.key }} {{ a.value }} diff --git a/device/views.py b/device/views.py index 080086f..2c07f79 100644 --- a/device/views.py +++ b/device/views.py @@ -10,7 +10,7 @@ from django.views.generic.edit import ( ) from django.views.generic.base import TemplateView from dashboard.mixins import DashboardView, Http403 -from evidence.models import UserProperty, SystemProperty +from evidence.models import UserProperty, SystemProperty, Property from lot.models import LotTag from device.models import Device from device.forms import DeviceFormSet