In this part we will look how to customize admin interface
In our case we had created a Todo model, but we don’t see it in admin right now. Its very simple to add model to admin
//admin.py from django.contrib import admin # Register your models here. from todo.models import Todo admin.site.register(Todo)
That’s it, at the most basic level this will show full TODO crud operation in our admin. Very simple!!
This can be customized further a lot. Read about it here https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#modeladmin-options