get survey scans into database

This commit is contained in:
expo
2009-09-14 23:09:50 +01:00
parent 1294444026
commit 2be3e4ce9d
3 changed files with 66 additions and 134 deletions

View File

@@ -12,7 +12,7 @@
<tr>
<td class="survexscansingle"><a href="{{survexscansingle.get_absolute_url}}">{{survexscansingle.name}}</a></td>
<td>
{% for survexblock in survexscansingle.survexblock_set %}
{% for survexblock in survexscansingle.survexblock_set.all %}
{{survexblock}}
{% endfor %}
</td>
@@ -20,4 +20,14 @@
{% endfor %}
</table>
{% endblock %}
<h3>Surveys referring to this wallet</h3>
<table>
{% for survexblock in survexscansfolder.survexblock_set.all %}
<tr>
<td><a href="{% url svx survexblock.survexfile.path %}">{{survexblock}}</a></td>
</tr>
{% endfor %}
</table>
{% endblock %}