I'm trying to override Django admin index.html to show table contain latest 5 records from a model

I managed to override the template with the following in my app:

```
from django.contrib import admin

admin.site.index_template = 'admin/dashboard.html'
admin.autodiscover()

```

But i have no idea how to add the latest records from model as a context to the index.html

Hope someone can help me