File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change
1
+ {% if region %}
1
2
< h1 > {{region.dong_name}}의 집값 추이는?</ h1 >
2
3
3
4
< ul >
4
- {% if realestates %}
5
5
< li >
6
6
< p > trading volume : {{trading_volume}}</ p >
7
7
< p > average price : {{average_price}}</ p >
@@ -11,7 +11,7 @@ <h1>{{region.dong_name}}의 집값 추이는?</h1>
11
11
< p > {{t}}</ p >
12
12
{% endfor %}
13
13
</ li >
14
- {% else %}
15
- < p > no real estaes</ p >
16
- {% endif %}
17
14
</ ul >
15
+ {% else %}
16
+ < p > no real estaes</ p >
17
+ {% endif %}
Original file line number Diff line number Diff line change 44
44
< ul class ="tabs ">
45
45
{% for region in regions %}
46
46
< li class ="tab " style ="list-style-type: none ">
47
- {%if sido%}
47
+ {%if gugun%}
48
+ < a
49
+ href ="{% url 'trades:detail' %}?dong_nm={{sido}}-{{gugun}}-{{region}} "
50
+ >
51
+ {{region}}
52
+ </ a >
53
+ {%elif sido%}
48
54
< a
49
55
href ="{% url 'trades:index' %}?sido_nm={{sido}}&gugun_nm={{region}} "
50
56
>
You can’t perform that action at this time.
0 commit comments