This is the continuation of my question yesterday and I'm now trying to show the fetched data on the django template.
Can anyone help me?
I'm trying to show the fetched data on an API to the Django template.
Here's what I've tried on
views.py which gets the data from
class IndexData(TemplateView): def get(self, request): article_data = services.get_data() return render(request, 'pages/home.html', article_data)
def get_data(title, url, description,