Skip to content

Commit 916e1e2

Browse files
committed
티켓 환불 성공 페이지 추가
1 parent f7f773c commit 916e1e2

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="ko">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>티켓 환불</title>
6+
</head>
7+
<body>
8+
<h1>티켓 환불 성공</h1>
9+
</body>
10+
</html>

ticket/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
path("<int:item_id>", views.TicketDetailView.as_view(), name="ticket-detail"),
1414
path("success", views.ticket_success, name="page-ticket-success"),
1515
path("failed", views.ticket_failed, name="page-ticket-failed"),
16-
path("<int:ticket_id>/refund", views.temp_refund),
16+
path("<int:ticket_id>/refund", views.ticket_refund, name="page-ticket-refund-success"),
1717
]

ticket/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@ def ticket_failed(request):
197197
return render(request, "ticket-failed.html")
198198

199199

200-
def temp_refund(request, ticket_id):
201-
pass
200+
def ticket_refund(request, ticket_id):
201+
return render(request, "ticket-refund-success.html")

0 commit comments

Comments
 (0)