Fix more foreing key usages
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

Also refactors user info to class
This commit is contained in:
2023-08-06 05:43:47 +03:00
parent a637c2d2a1
commit c8b09d54f8
6 changed files with 56 additions and 51 deletions

View File

@@ -66,12 +66,12 @@
<tr>
<td>Owner</td>
<td>{{ form.inventory.owner.foreign_id }}</td>
<td>{{ form.inventory.owner.username }}</td>
</tr>
<tr>
<td>Current user</td>
<td>{{ form.inventory.user.foreign_id }}</td>
<td>{{ form.inventory.user.username }}</td>
</tr>
<tr>