{% extends "accounts/base.html" %}

{% block content %}
<ul>
    <li><a href="{% url 'transactions:transaction_create' %}">Create</a></li>
    <li><a href="{% url 'transactions:transaction_import' %}">Import</a></li>
</ul>

<table>
    <tr>
        <th>ID</th>
        <th>Date</th>
        <th>Amount</th>
        <th>Payee</th>
        <th>Category</th>
        <th>Description</th>
        <th>Actions</th>
    </tr>
    {% for transaction in transaction_list %}
    <tr> 
        <td>{{ transaction.id }}</td>
        <td>{{ transaction.date }}</td>
        <td>{{ transaction.amount }}</td>
        <td>{{ transaction.payee }}</td>
        <td>{{ transaction.category }}</td>
        <td>{{ transaction.description }}</td>
        <td>
            <ul>
                <li><a href="{% url 'transactions:transaction_update' transaction.id %}">Update</a></li>
                <li><a href="{% url 'transactions:transaction_delete' transaction.id %}">Delete</a></li>
            </ul>
        </td>
    </tr>
    {% endfor %}
</table>
{% endblock %}
{% extends "accounts/base.html" %}

{% block content %}
<ul>
    <li><a href="{% url 'transactions:transaction_create' %}">Create</a></li>
    <li><a href="{% url 'transactions:transaction_import' %}">Import</a></li>
</ul>

<table>
    <tr>
        <th>ID</th>
        <th>Date</th>
        <th>Amount</th>
        <th>Payee</th>
        <th>Category</th>
        <th>Description</th>
        <th>Actions</th>
    </tr>
    {% for transaction in transaction_list %}
    <tr> 
        <td>{{ transaction.id }}</td>
        <td>{{ transaction.date|date:"SHORT_DATE_FORMAT"}}</td>
        <td>{{ transaction.amount }}</td>
        <td>{{ transaction.payee }}</td>
        <td>{{ transaction.category }}</td>
        <td>{{ transaction.description }}</td>
        <td>
            <ul>
                <li><a href="{% url 'transactions:transaction_update' transaction.id %}">Update</a></li>
                <li><a href="{% url 'transactions:transaction_delete' transaction.id %}">Delete</a></li>
            </ul>
        </td>
    </tr>
    {% endfor %}
</table>
{% endblock %}
Use short, localized date format
Use short, localized date format
