how can I design well the message error appearing on the template in django code example
Example 1: django messages
from django.contrib import messages
messages.add_message(request, messages.INFO, 'Hello world.')
Example 2: django loop through form errors
{% for key, value in form.errors.items %}