Django(2) Introduction To Django 3.0 Admin Panel

After launching the server, let’s create a visible page. Here are some steps you can follow.

Admin Panel Create

  1. Turn on the terminal, and input python manage.py migrate first. Django(2)_Introduction_To_Django_3.0_Admin_Panel_1.png

  2. And then, input python manage.py createsuperuser and generate initial information of user. Django(2)_Introduction_To_Django_3.0_Admin_Panel_2.png

  3. Finally, refresh the local page and change the address to 127.0.0.1:8000/admin. Use your created Username and Password to get entered. Django(2)_Introduction_To_Django_3.0_Admin_Panel_3.png

So far, you have created a visible page which is pretty helpful in the future. Hopefully, it helps.

猜你喜欢

转载自blog.csdn.net/Moses_SU/article/details/127626600
今日推荐