Template rendering
Tera tags for form rendering.
● ● ●
<form method="POST" action="/registration">
{# Render all fields + CSRF automatically #}
{% form.registration_form %}
<button type="submit">Sign up</button>
</form>
<form method="POST" action="/registration">
{# CSRF always included automatically — field by field or full render #}
{% form.registration_form.username %}
{% form.registration_form.email %}
{% form.registration_form.password %}
<button type="submit">Sign up</button>
</form>
{# Runique tag — automatic message rendering #}
{% messages %}
{# Generated structure (internal message.html): #}
{% if messages %}
{% messages }
{% endif %}