From 29f6ba1619d38c6175b9450fad03fbfdc0376155 Mon Sep 17 00:00:00 2001 From: Taeseung Lee Date: Sat, 18 Mar 2017 12:44:15 +0000 Subject: [PATCH 1/2] Fix critical typo made by @punkyoon --- coding_night_live/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coding_night_live/views.py b/coding_night_live/views.py index 719f484..63cb187 100644 --- a/coding_night_live/views.py +++ b/coding_night_live/views.py @@ -18,7 +18,7 @@ def PageNotFound(request): def withdraw(request): if request.method == 'POST': - User.objects.get(email=request.user.email).delete + User.objects.get(email=request.user.email).delete() else: print('Request method is not a GET.') - return HttpResponseRedirect('/') \ No newline at end of file + return HttpResponseRedirect('/') From defe44bd7b850f3250b5786fe387c721a4435f37 Mon Sep 17 00:00:00 2001 From: Taeseung Lee Date: Sat, 18 Mar 2017 12:54:28 +0000 Subject: [PATCH 2/2] Add withdrawAccountModal with Withdraw tab\nRenamed deleteRoom to deleteRoomModal --- templates/list.html | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/templates/list.html b/templates/list.html index 86b24e7..ce5784b 100644 --- a/templates/list.html +++ b/templates/list.html @@ -52,6 +52,21 @@ + + +