[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: remove old use of 'curr
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: remove old use of 'currency' to instantiate bank accounts |
Date: |
Tue, 31 Oct 2017 15:55:48 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new f80aae8 remove old use of 'currency' to instantiate bank accounts
f80aae8 is described below
commit f80aae8bc4e69fb62d8c02fa8fb5530c2cf5d810
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 31 15:55:22 2017 +0100
remove old use of 'currency' to instantiate bank accounts
---
talerbank/app/management/commands/provide_accounts.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/talerbank/app/management/commands/provide_accounts.py
b/talerbank/app/management/commands/provide_accounts.py
index cf3f0cd..de5067d 100644
--- a/talerbank/app/management/commands/provide_accounts.py
+++ b/talerbank/app/management/commands/provide_accounts.py
@@ -32,9 +32,7 @@ def demo_accounts():
User.objects.get(username=name)
except User.DoesNotExist:
u = User.objects.create_user(username=name, password='x')
- b = BankAccount(user=u,
- currency=settings.TALER_CURRENCY,
- is_public=True)
+ b = BankAccount(user=u, is_public=True)
b.save()
logger.info("Creating account '%s' with number %s", name,
b.account_no)
@@ -58,9 +56,7 @@ def ensure_account(name):
BankAccount.objects.get(user=user)
except BankAccount.DoesNotExist:
- acc = BankAccount(user=user,
- currency=settings.TALER_CURRENCY,
- is_public=True)
+ acc = BankAccount(user=user, is_public=True)
acc.save()
logger.info("Creating *bank* account number '{}' for user
'{}'".format(acc.account_no, name))
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: remove old use of 'currency' to instantiate bank accounts,
gnunet <=