mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-18 14:11:17 +00:00
PEP8 compliance
This commit is contained in:
parent
526744052e
commit
46ec16d8c9
@ -6,9 +6,10 @@ from django.db.models import F
|
|||||||
from django_tables2.utils import A
|
from django_tables2.utils import A
|
||||||
|
|
||||||
from .models.notes import Alias
|
from .models.notes import Alias
|
||||||
from .models.transactions import Transaction
|
from .models.transactions import Transaction, TransactionTemplate
|
||||||
from .templatetags.pretty_money import pretty_money
|
from .templatetags.pretty_money import pretty_money
|
||||||
|
|
||||||
|
|
||||||
class HistoryTable(tables.Table):
|
class HistoryTable(tables.Table):
|
||||||
class Meta:
|
class Meta:
|
||||||
attrs = {
|
attrs = {
|
||||||
@ -34,6 +35,7 @@ class HistoryTable(tables.Table):
|
|||||||
def render_total(self, value):
|
def render_total(self, value):
|
||||||
return pretty_money(value)
|
return pretty_money(value)
|
||||||
|
|
||||||
|
|
||||||
class AliasTable(tables.Table):
|
class AliasTable(tables.Table):
|
||||||
class Meta:
|
class Meta:
|
||||||
attrs = {
|
attrs = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user