fixed user_properties list not working

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-13 21:14:23 -03:00 committed by pedro
parent 43a465df27
commit 74ff621b1d
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@
</tr>
</thead>
<tbody>
{% for a in object.get_user_annotations %}
{% for a in object.get_user_properties %}
<tr>
<td>{{ a.key }}</td>
<td>{{ a.value }}</td>

View file

@ -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