[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: implement /config
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: implement /config |
Date: |
Tue, 21 Jul 2020 11:56:00 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 7b85b87 implement /config
7b85b87 is described below
commit 7b85b8731693216f967668e5444cbc85e1f6d995
Author: MS <ms@taler.net>
AuthorDate: Tue Jul 21 11:55:56 2020 +0200
implement /config
---
talerbank/app/urls.py | 1 +
talerbank/app/views.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/talerbank/app/urls.py b/talerbank/app/urls.py
index 6cedbfe..61660f1 100644
--- a/talerbank/app/urls.py
+++ b/talerbank/app/urls.py
@@ -89,6 +89,7 @@ urlpatterns = [
),
name="login",
),
+ path("config", views.config_view, name="logout"),
path("logout", views.logout_view, name="logout"),
path("register", views.register, name="register"),
path("profile", views.profile_page, name="profile"),
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index f2ec50a..b7f3a9b 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -497,6 +497,8 @@ def logout_view(request):
django.contrib.auth.logout(request)
return redirect("index")
+def config_view(request):
+ return JsonResponse(dict(version="0.0.0",
currency=settings.TALER_CURRENCY), status=200)
def extract_history(account, delta, start=None):
history = []
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: implement /config,
gnunet <=