<form action="" method="post">
    {% csrf_token %}
      {{ form }}
    <input type="submit" value="registry">
</form>
{% if ips_list %}
    <ul>
    {% for ips in ips_list %}
        <li>{{ ips.inet }}</li>
    {% endfor %}
    </ul>
{% else %}
    <p>No registered IP.</p>
{% endif %}
