1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 18:38:23 +02:00

Button create a transaction through the API

This commit is contained in:
Yohann D'ANELLO
2020-03-11 21:47:04 +01:00
parent 7f432f5bc5
commit cebbe65eef
3 changed files with 48 additions and 3 deletions

View File

@ -18,6 +18,7 @@ class HistoryTable(tables.Table):
}
model = Transaction
exclude = ("polymorphic_ctype", )
order_by = ('-created_at', )
template_name = 'django_tables2/bootstrap4.html'
sequence = ('...', 'total', 'valid')