1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

PEP8 compliance

This commit is contained in:
Pierre-antoine Comby 2020-03-09 19:19:56 +01:00
parent 526744052e
commit 46ec16d8c9

View File

@ -6,9 +6,10 @@ from django.db.models import F
from django_tables2.utils import A
from .models.notes import Alias
from .models.transactions import Transaction
from .models.transactions import Transaction, TransactionTemplate
from .templatetags.pretty_money import pretty_money
class HistoryTable(tables.Table):
class Meta:
attrs = {
@ -34,6 +35,7 @@ class HistoryTable(tables.Table):
def render_total(self, value):
return pretty_money(value)
class AliasTable(tables.Table):
class Meta:
attrs = {