-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pages to show building and property addresses from database
- Loading branch information
1 parent
e5f1272
commit 0804632
Showing
2 changed files
with
28 additions
and
0 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,14 @@ | ||
{% extends 'base.html' %} | ||
{% block content %} | ||
{% for address in building_addresses %} | ||
<div> | ||
<h3>{{ address.gatenavn }} - {{ address.building_number }}</h3> | ||
<p>{{ address.address_id }}, {{ address.city_name }}-{{ address.post_nr }}</p> | ||
</div> | ||
{% endfor %} | ||
<div> | ||
{% for page in total_pages %} | ||
<span><a href="{% url 'realestate:property_address_page' page %}">{{ page }}</a></span> | ||
{% endfor %} | ||
</div> | ||
{% endblock %} |
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,14 @@ | ||
{% extends 'base.html' %} | ||
{% block content %} | ||
{% for address in property_addresses %} | ||
<div> | ||
<h3>{{ address.bruksnavn }} - {{ address.property_number }}</h3> | ||
<p>{{ address.address_id }}, {{ address.city_name }}-{{ address.post_nr }}</p> | ||
</div> | ||
{% endfor %} | ||
<div> | ||
{% for page in total_pages %} | ||
<span><a href="{% url 'realestate:property_address_page' page %}">{{ page }}</a></span> | ||
{% endfor %} | ||
</div> | ||
{% endblock %} |