{% extends "base.html" %} {% block content %}

Data Summary

{% if fish_list %}

Largest Length of Each Species

{% for i in stats %} {% for fish in fish_list %} {% if fish.pk == i.pk_l%} {% endif %} {% endfor %} {% endfor %}
Species Name Length Weight Date Caught GPS Coordinates Other Comments Upload Uploader
{{ fish.species_name }} {{ fish.fish_length }} mm {{ fish.fish_weight }} g {{ fish.date_caught }} {{ fish.gps_coordinates }} {{ fish.other_comments }} {{ fish.upload.timestamp }} {{ fish.get_uploader }}

Largest Weight of Each Species

{% for i in stats %} {% for fish in fish_list %} {% if fish.pk == i.pk_w%} {% endif %} {% endfor %} {% endfor %}
Species Name Length Weight Date Caught GPS Coordinates Other Comments Upload Uploader
{{ fish.species_name }} {{ fish.fish_length }} mm {{ fish.fish_weight }} g {{ fish.date_caught }} {{ fish.gps_coordinates }} {{ fish.other_comments }} {{ fish.upload.timestamp }} {{ fish.get_uploader }}
{% else %}

There are no fish in the database that match your filters.

{% endif %} {% endblock %}