官术网_书友最值得收藏!

The Django administration site

Now, start the development server with the python manage.py runserver command and open http://127.0.0.1:8000/admin/ in your browser. You should see the administration login page, as shown in the following screenshot:

Log in using the credentials of the user you created in the preceding step. You will see the admin site index page, as shown in the following screenshot:

The Group and User models you see in the preceding screenshot are part of the Django authentication framework located in django.contrib.auth. If you click on Users, you will see the user you created previously. The Post model of your blog application has a relationship with this User model. Remember that it is a relationship defined by the author field.

主站蜘蛛池模板: 正安县| 卓尼县| 彩票| 抚远县| 上犹县| 金坛市| 玛曲县| 沅江市| 集贤县| 石楼县| 精河县| 稻城县| 抚远县| 泸定县| 神池县| 玛沁县| 新安县| 盈江县| 长泰县| 丹寨县| 林甸县| 余江县| 西贡区| 吉水县| 乐都县| 琼结县| 喀什市| 陆河县| 新竹市| 宕昌县| 溧水县| 云霄县| 逊克县| 右玉县| 晋江市| 怀化市| 池州市| 青州市| 闽侯县| 梅河口市| 长汀县|