fixed user_properties list not working

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-13 21:14:23 -03:00 committed by Cayo Puigdefabregas
parent 8dfe52c2c0
commit feacb399d0
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