#rank,name,field_name,followup_flag_date,RA,DEC,object_classification,observation_status,earliest_mjd,earliest_mag,earliest_filter,latest_mjd,latest_mag,latest_filter
{% for row in table %}{{ row.rank }},{% if row.data.ps1_designation %}{{ row.data.ps1_designation }}{% else %}{% if row.data.local_designation %}{{ row.data.local_designation }}{% else %}{{ row.data.ID }}{% endif %}{% endif %},{{ row.survey_field }},{{ row.followup_flag_date|date:"Y-m-d" }},{{ row.data.ra_sex }},{{ row.data.dec_sex }},{{ row.data.decode_flag_bits }},{{ row.data.observation_status|default_if_none:"" }},{{ row.data.earliest_mjd|floatformat:5 }},{{ row.data.earliest_mag|floatformat:2 }},{{ row.data.earliest_filter|default_if_none:"" }},{{ row.data.latest_mjd|floatformat:5 }},{{ row.data.latest_mag|floatformat:2 }},{{ row.data.latest_filter|default_if_none:"" }}
{% endfor %}
