-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : Create detail page to see trades
Use sample data created by admin page. main page has a list of region(동) and detail pages have a list of real-estates of the region and detail-trade pages have a list of trades of the real estate Name of classes in View and Templates can be modified. #8
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{estate.estate_name}}의 거래 내역 {% if trades %} | ||
<ul> | ||
{% for trade in trades %} | ||
<li> | ||
{{trade.trade_year}}년 {{trade.trade_month}}월 {{trade.trade_day}}일 | ||
<br /> | ||
거래가 : {{trade.trade_price}} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% else %} | ||
<p>거래가 존재하지 않습니다.</p> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters