From 6d0c287bf6b27da280e659eb60ad4347218277d5 Mon Sep 17 00:00:00 2001 From: yumas Date: Thu, 26 Mar 2015 21:55:32 +0900 Subject: [PATCH] a --- static/strawberry.csv | 4 ++++ static/yum.csv | 3 ++- strawberry/views.py | 2 +- templates/master.html | 2 +- templates/reserve.html | 16 +++++++++------- 5 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 static/strawberry.csv diff --git a/static/strawberry.csv b/static/strawberry.csv new file mode 100644 index 0000000..5826612 --- /dev/null +++ b/static/strawberry.csv @@ -0,0 +1,4 @@ +reservationID,name,studentID,club,strawBerry,GimBob,phone,date +1,,11111111,,1,1,010-1231-1231,04/01/2015 +3,ƹ,10203401,ƹü,1,124,010-2223-1111,04/01/2015 +4,ƹ,10203401,ƹü,1,124,010-2223-1111,04/01/2015 diff --git a/static/yum.csv b/static/yum.csv index 52035ab..e212d90 100644 --- a/static/yum.csv +++ b/static/yum.csv @@ -1,2 +1,3 @@ reservationID,name,studentID,club,strawBerry,GimBob,phone,date -1,,20120600,Ž,1,1,010-9072-0292,April 1st +6,ƹ,10203401,ƹü,1,124,010-2223-1111,04/10/2015 +10,ƹ,10203401,ƹü,1,124,010-2223-1111,04/10/2015 diff --git a/strawberry/views.py b/strawberry/views.py index cb163b2..4582a7c 100644 --- a/strawberry/views.py +++ b/strawberry/views.py @@ -59,7 +59,7 @@ def printEx(num): l.sort(compare) - with io.open("static/yum.csv", 'w', encoding='cp949') as outfile: + with io.open("static/strawberry.csv", 'w', encoding='cp949') as outfile: outfile.write(("reservationID,name,studentID,club,strawBerry,GimBob,phone,date\n").decode('cp949')) for t in l: if num==t[0]: diff --git a/templates/master.html b/templates/master.html index 806386b..a7bf9ae 100644 --- a/templates/master.html +++ b/templates/master.html @@ -44,7 +44,7 @@ }) }); - + diff --git a/templates/reserve.html b/templates/reserve.html index 4fa985a..88090f7 100644 --- a/templates/reserve.html +++ b/templates/reserve.html @@ -58,11 +58,18 @@

2015 딸기파티 신청하기

지금 신청하세요!

신청 하게.

-

경고 : 당신은 죽을 수도 있습니다.

+

zzz

{% if status != 'success' %}
{% csrf_token %} +
+ +
+ +
+
+
@@ -106,12 +113,7 @@

신청 하게.

-
- -
- -
-
+