- Django 2 by Example
- Antonio Melé
- 168字
- 2021-06-25 21:18:57
Building a Blog Application
In this book, you will learn how to build complete Django projects, ready for production use. In case you haven't installed Django yet, you will learn how to do it in the first part of this chapter. This chapter covers how to create a simple blog application using Django. The purpose of this chapter is to get a general idea of how the framework works, understand how the different components interact with each other, and provide you with the skills to easily create Django projects with a basic functionality. You will be guided through the creation of a complete project without elaborating upon all the details. The different framework components will be covered in detail throughout this book.
This chapter will cover the following topics:
- Installing Django and creating your first project
- Designing models and generating model migrations
- Creating an administration site for your models
- Working with QuerySet and managers
- Building views, templates, and URLs
- Adding pagination to list views
- Using Django's class-based views
推薦閱讀
- EJB 3.1從入門到精通
- 微商之道
- Modern JavaScript Web Development Cookbook
- Oracle SOA Suite 11g Performance Tuning Cookbook
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2015年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- 物聯(lián)網(wǎng)技術(shù)與應(yīng)用
- 智慧光網(wǎng)絡(luò):關(guān)鍵技術(shù)、應(yīng)用實(shí)踐和未來(lái)演進(jìn)
- 圖解手機(jī)元器件維修技巧
- 6G新技術(shù) 新網(wǎng)絡(luò) 新通信
- 物聯(lián)網(wǎng)長(zhǎng)距離無(wú)線通信技術(shù)應(yīng)用與開發(fā)
- Hands-On Bitcoin Programming with Python
- TCP/IP基礎(chǔ)(第2版)
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 物聯(lián)網(wǎng)的機(jī)遇與利用