{% extends 'main.html' %} {% block content %}

Species Name Consistency — Enforce Single Quote Usage

Scans all species name and alt_name fields and replaces every curly, smart, or double-quote variant with a standard straight single quote ('). Only records that actually change are saved. Click Run to apply.

{% csrf_token %} Cancel
{% if request.method == 'POST' %}
Results — {% if changes %} {{ changes|length }} record{{ changes|length|pluralize }} updated {% else %} No changes needed {% endif %}
{% if changes %} {% for c in changes %} {% endfor %}
ID Original Name Updated Name Fields Changed
{{ c.id }} {{ c.original_name }} {{ c.new_name }} {{ c.fields }}
{% else %}

✓ All species names are already using standard single quotes — nothing to update.

{% endif %}
{% endif %}
{% endblock content %}