[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 01/02: adding make check
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 01/02: adding make check |
Date: |
Wed, 01 Feb 2017 16:33:18 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
commit 0a1bdb2f8f868c8abf93791f4ec163ffea71807b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Feb 1 10:33:04 2017 +0100
adding make check
---
Makefile.am | 2 ++
talerbank/app/views.py | 3 +++
2 files changed, 5 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index 3ee448a..d5a57b1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,8 @@ pkgdata_DATA = \
install-dev:
@pip3 install -e . --install-option="address@hidden@"
+check:
+ @export DJANGO_SETTINGS_MODULE="talerbank.settings" && python3 -m
django test
# install into prefix
install-exec-hook:
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 50e3771..fc4abfb 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -75,6 +75,9 @@ def get_session_flag(request, name):
return False
+# Check if user's logged in. Check if he/she has withdrawn or
+# registered; render profile page.
+
@login_required
def profile_page(request):
just_withdrawn = get_session_flag(request, "just_withdrawn")
--
To stop receiving notification emails like this one, please contact
address@hidden