Compare commits

..

No commits in common. "963c91594a5873b96f7dd278fcc84a8e5acd5d20" and "49834e10e8bc014f4e1aedd83b07b9a0314ff83b" have entirely different histories.

3 changed files with 9 additions and 13 deletions

1
.gitignore vendored
View File

@ -4,4 +4,3 @@ __pycache__
/nummi-git/
/pkg/
/src/
/nummi/media

View File

@ -29,13 +29,13 @@
</div>
{% for inv in transaction.invoices %}
<div class="invoice">
<a href="{{ inv.file.url }}" class="center"><i class="fa-regular fa-file"></i></a>
<a href="{{ inv.file.url }}"><i class="fa-regular fa-file"></i></a>
<a href="{{ inv.get_absolute_url }}">{{ inv.name }}</a>
<a href="{{ inv.get_delete_url }}" class="right">{% translate "Delete" %}</a>
</div>
{% endfor %}
<div class="invoice new">
<span class="center"><i class="fa fa-file-circle-plus"></i></span>
<i class="fa fa-file-circle-plus"></i>
<a href="{% url "invoice" transaction.pk %}">{% translate "New invoice" %}</a>
</div>
</div>

View File

@ -87,16 +87,13 @@ WSGI_APPLICATION = "nummi.wsgi.application"
# Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
DATABASES = CONFIG.get(
"databases",
{
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "nummi",
"USER": "nummi",
}
},
)
DATABASES = CONFIG.get("databases", {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "nummi",
"USER": "nummi",
}
})
# Password validation