Adding views to the admin site
Just like general applications inside Django, which can have multiple views associated with them, Django allows developers to add custom views to the admin site also, which allows a developer to increase the scope of what the admin site interface can do.
The ability to add your own views to the admin site provides a lot of extensibility to the admin panel of the website, which can be leveraged for several additional use cases. For example, as we discussed at the start of the chapter, the IT team of a big organization can add a custom view to the admin site, which can then be used to monitor the health of the different IT systems at the organization, as well as provide the IT team with the ability to quickly look at any urgent alerts that need to be addressed.
Now, the next question we need to answer is, how can we add a custom view to the admin site?
As it turns out, adding a new view inside the admin template is quite easy and follows the same...