1👍
✅
I hope you also have a view like:
from django.template.response import TemplateResponse
from models import Tower
def tower_list(request):
return TemplateResponse(request, "your_template.html",
{"towers": tower.objects.all()})
and your template “your_template.html” should look like this:
{% for a in towers %}
AP: {{a.ap}}<br>
{%endfor%}
Source:stackexchange.com