syntax
This commit is contained in:
parent
60ac6d466f
commit
441c7bd629
|
@ -34,7 +34,7 @@ def search_related(request):
|
|||
for s in similar_features:
|
||||
d.append({
|
||||
'id': s.id,
|
||||
'feature_type': FeatureType.objects.get(pk=s.feature_type_id)
|
||||
'feature_type': FeatureType.objects.get(pk=s.feature_type_id),
|
||||
'preferred_name': s.preferred_name,
|
||||
'similarity': s.similarity,
|
||||
'distance': s.distance
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<a href="/admin/pleaces/feature/{{ s.id }}" title="View / Edit in Admin"> {{ s.preferred_name }} </a>
|
||||
</td>
|
||||
<td>
|
||||
{{ s.feature_type }}
|
||||
{{ s.feature_type.name }}
|
||||
</td>
|
||||
<td>
|
||||
{{ s.similarity }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user