Admin¶
Introduction¶
In this file, we have register the Blog application to django admin, so we can control it from admin dashboard.
contents¶
The path to this file is: ./blog/admin.py
So, in this file, we have register both models ( PostModel & CommentModel ) to the django admin to manage them from the admin dashboard.