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

What this book covers

Chapter 1, Getting Started with Django 1.8, guides you through the basic configuration that is necessary to start any Django project. It will cover topics such as the virtual environment, version control, and project settings.

Chapter 2, Database Structure, teaches how to write reusable pieces of code to use in your models. When you create a new app, the first thing to do is to define your models. Also, you will be asked how to manage the database schema changes using Django migrations.

Chapter 3, Forms and Views, shows you some patterns used to create the views and forms for your data.

Chapter 4, Templates and JavaScript, covers practical examples of using templates and JavaScript together. We will bring together templates and JavaScript as information is always presented to the user by rendered templates and in modern website, JavaScript is a must for a rich user experience.

Chapter 5, Custom Template Filters and Tags, explains how to create and use your own template filters and tags. As you will see, the default Django template system can be extended to match template developers' needs.

Chapter 6, Model Administration, guides you through extending the default administration with your own functionality as the Django framework comes with a handy pre-built model administration.

Chapter 7, Django CMS, deals with the best practices of using Django CMS, which is the most popular open source content management system made with Django, and adapting it to your project's requirements.

Chapter 8, Hierarchical Structures, shows that whenever you need to create a tree-like structure in Django, the django-mptt module comes in handy. This chapter shows you how to use it and set administration for hierarchical structures.

Chapter 9, Data Import and Export, demonstrates how to transfer data from and to different formats, as well as retrieve it from and provide it to different sources. This chapter deals with the management commands for data import and also APIs for data export.

Chapter 10, Bells and Whistles, shows some additional snippets and tricks useful in everyday web development and debugging.

Chapter 11, Testing and Deployment, teaches how to test your project and deploy it on the remote server.

主站蜘蛛池模板: 青河县| 金塔县| 馆陶县| 衡东县| 甘德县| 高陵县| 肇州县| 滕州市| 固安县| 金昌市| 宾阳县| 禹城市| 晋城| 喀喇| 塔城市| 武陟县| 沂水县| 仁寿县| 宿松县| 合水县| 海兴县| 清镇市| 东台市| 海口市| 乳源| 迁安市| 望谟县| 寻甸| 淮北市| 桐柏县| 比如县| 太仆寺旗| 乳源| 怀柔区| 丰镇市| 方山县| 宜君县| 普宁市| 神农架林区| 贵定县| 澄迈县|