Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit dfa9547

Browse files
authored
Merge pull request #107 from crab85193/dev_crab
Dev crab
2 parents 49f5f23 + b1e16a8 commit dfa9547

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
454 Bytes
Binary file not shown.
466 Bytes
Binary file not shown.

main_app/views/reservation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def get_context_data(self, **kwargs):
103103
"https://raw.githubusercontent.com/crab85193/Tely/main/static/img/logo.png"
104104
],
105105
"name":"テスト用店舗 001店",
106-
"type":"レストラン",
106+
"type":_("restaurant"),
107107
"address":"沖縄県中頭郡西原町字千原",
108108
"tel_number":"090-5516-9212",
109109
"open":"月〜土 9:00〜Last",
@@ -136,8 +136,8 @@ def form_valid(self, form):
136136
else:
137137
obj_parent = ReservationParent.objects.create(
138138
user = self.request.user,
139-
shop_tel_number = "08042897797",
140-
shop_name = "ガールズバー Macherie(マシェリ)",
139+
shop_tel_number = "09055169212",
140+
shop_name = "テスト用店舗 001店",
141141
reservation_datetime = data["reservation_datetime"],
142142
num_people = data["num_people"],
143143
representative_name = data["representative_name"],

main_app/views/shop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_context_data(self, **kwargs):
2121
shop_detail_test = {
2222
"img":"https://raw.githubusercontent.com/crab85193/Tely/main/static/img/logo.png",
2323
"name":"テスト用店舗 001店",
24-
"type":"レストラン",
24+
"type":_("restaurant"),
2525
"address":"沖縄県中頭郡西原町字千原",
2626
"tel_number":"090-5516-9212",
2727
"open":"月〜土 9:00〜Last",
@@ -125,7 +125,7 @@ def get_context_data(self, **kwargs):
125125
"https://raw.githubusercontent.com/crab85193/Tely/main/static/img/logo.png"
126126
],
127127
"name":"テスト用店舗 001店",
128-
"type":"レストラン",
128+
"type":_("restaurant"),
129129
"address":"沖縄県中頭郡西原町字千原",
130130
"tel_number":"090-5516-9212",
131131
"open":"月〜土 9:00〜Last",

0 commit comments

Comments
 (0)