#In the project urls.py file admin.site.site_header = "Admin Portal" admin.site.site_title = "Admin Portal" admin.site.index_title = "Welcome to Portal"
Here is what the above code is Doing:
1. We are importing the admin class from the django.contrib module.
2. We are then registering the Post model with the admin class.
3. In the project urls.py file, we are setting the site header, site title, and index title.