this is my function in my views.py
views.py
def index(request):
text = Homepage.objects.all()
context = {'text': text,}
return render(request, 'webapp/index.html',context)
Homepage is my Model name. text is text field( in that model) that i am trying to display in my html page.
i just want to display what i update from admin. but i am getting this:
In my index.html i am getting:
```<QuerySet [<Homepage: this is my first obj>, <Homepage: this is second text>]>
i mean i just want to display: this is my first obj this is second text
but it displayed: <QuerySet [<Homepage: this is my first obj>, <Homepage: this is second text>]>