fixed user_properties list not working

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-13 21:14:23 -03:00
parent 2a9eca74eb
commit 3350966bb3
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,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

@ -12,7 +12,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