[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: order by acct no
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: order by acct no |
Date: |
Wed, 18 Dec 2019 20:55:51 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 11ecfd1 order by acct no
11ecfd1 is described below
commit 11ecfd15ffe16ba35dac54c3b8794bb51c2091df
Author: Florian Dold <address@hidden>
AuthorDate: Wed Dec 18 20:55:48 2019 +0100
order by acct no
---
talerbank/app/management/commands/list_accounts.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/talerbank/app/management/commands/list_accounts.py
b/talerbank/app/management/commands/list_accounts.py
index 94323a5..4294845 100644
--- a/talerbank/app/management/commands/list_accounts.py
+++ b/talerbank/app/management/commands/list_accounts.py
@@ -45,8 +45,8 @@ class Command(BaseCommand):
# (defined in the settings) and invoke the account creator
# for each one of them.
def handle(self, *args, **options):
- accounts = BankAccount.objects.all()
+ accounts = BankAccount.objects.all().order_by("account_no")
for account in accounts:
print(
- f"Account {account.user.username} (#{account.account_no})
balance {account.amount.stringify()}"
+ f"Account {repr(account.user.username)}
(#{account.account_no}) balance {account.amount.stringify()}"
)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: order by acct no,
gnunet <=