Fixed urls

This commit is contained in:
2022-03-10 18:19:13 +01:00
parent 16a0b92731
commit 111f147cac
4 changed files with 8 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% load statics %}
{% load static %}
{% block content %}
<h2>Form for Asset</h2>

View File

@@ -9,7 +9,7 @@
{% if asset_list %}
<ul>
{% for asset in asset_list %}
<li><a href="{% url 'asset:asset-detail' asset.id %}">{{ asset.named_id }}: {{ asset.description }}</a></li>
<li><a href="{% url 'asset:asset-update' asset.id %}">{{ asset.named_id }}: {{ asset.description }}</a></li>
{% endfor %}
</ul>
{% else %}