[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 01/02: add indices where they belong (#5153)
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 01/02: add indices where they belong (#5153) |
Date: |
Sat, 04 Nov 2017 18:18:57 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository bank.
commit 1af891c9e32bfabe7b9800d1643d6e292858018b
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 4 18:15:08 2017 +0100
add indices where they belong (#5153)
---
talerbank/app/models.py | 5 ++++-
talerbank/app/static/web-common | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/talerbank/app/models.py b/talerbank/app/models.py
index 064dbed..d254cc4 100644
--- a/talerbank/app/models.py
+++ b/talerbank/app/models.py
@@ -71,9 +71,12 @@ class BankTransaction(models.Model):
amount = AmountField(default=False)
debit_account = models.ForeignKey(BankAccount,
on_delete=models.CASCADE,
+ db_index=True,
related_name="debit_account")
credit_account = models.ForeignKey(BankAccount,
on_delete=models.CASCADE,
+ db_index=True,
related_name="credit_account")
subject = models.CharField(default="(no subject given)", max_length=200)
- date = models.DateTimeField(auto_now=True)
+ date = models.DateTimeField(auto_now=True,
+ db_index=True)
diff --git a/talerbank/app/static/web-common b/talerbank/app/static/web-common
index 489a9e3..d7e0135 160000
--- a/talerbank/app/static/web-common
+++ b/talerbank/app/static/web-common
@@ -1 +1 @@
-Subproject commit 489a9e38e6960fdce309ab8cf5ff66d930ecb3bc
+Subproject commit d7e013594d15388b1a7342a44a0e9c8d4ecca82d
--
To stop receiving notification emails like this one, please contact
address@hidden