Django Admin - Django Web Development Tutorial 9

Опубликовано: 06 Октябрь 2024
на канале: TekStark
4,488
31

Welcome to another tutorial of Django web development tutorial series.

Today we are going to learn about django admin. If you guys remember then in the very first lecture we discussed that django creates admin panel and its one of the important feature of django.

We have created super user for admin and command is:
django manage.py createsupersuer

This command will ask you,
Username
Email
Password

We can register our model with admin and perform CRUD operations there. To do that, we need to register our model in admin.py file.

admin.site.register(model name)
Ex: admin.site.register(MovieInfo)

Download source code of the project that we created in this tutorial from here:
https://drive.google.com/open?id=1dNY...

You can contact me at my email.
Email: [email protected]

If you have any problems or concerns then feel free to post your comment below I will be happy to help you as soon as I can. Otherwise, see you in next tutorial. Thanks for watching.


Subscribe this channel for more videos on Django development tutorial.