I am using django function base views these operation needed in all views.
resourceList=resource.objects.all()
params={
'resourcelist':resourceList
}
return render(request, html file, params)
One solution is that I will type in all my views function. Anyone can help me with a suitable answer for this?