[locations] Update view to show all locations
All checks were successful
build & deploy / test (push) Successful in 1m42s
build & deploy / build-and-deploy (push) Successful in 27s

This commit is contained in:
2026-05-20 13:29:09 -04:00
parent 3014a30616
commit 2b88f89794
2 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@ from scrobbles.views import ChartContextMixin
class GeoLocationListView(generic.ListView):
model = GeoLocation
paginate_by = 75
paginate_by = 100
def get_queryset(self):
return (

View File

@ -21,7 +21,6 @@
</thead>
<tbody>
{% for obj in object_list %}
{% if obj.title %}
<tr>
<td><a href="{{obj.scrobble_set.last.get_absolute_url}}">{{obj.scrobble_set.last.local_timestamp}}
<td><a href="{{obj.get_absolute_url}}">{{obj}}</a></td>
@ -36,7 +35,6 @@
<td><a type="button" class="btn btn-sm btn-primary" href="{{obj.start_url}}">Scrobble</a></td>
{% endif %}
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>