Book Image

Django 3 By Example - Third Edition

By : Antonio Melé
Book Image

Django 3 By Example - Third Edition

By: Antonio Melé

Overview of this book

If you want to learn the entire process of developing professional web applications with Python and Django, then this book is for you. In the process of building four professional Django projects, you will learn about Django 3 features, how to solve common web development problems, how to implement best practices, and how to successfully deploy your applications. In this book, you will build a blog application, a social image bookmarking website, an online shop, and an e-learning platform. Step-by-step guidance will teach you how to integrate popular technologies, enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects. By the end of this book, you will have mastered Django 3 by building advanced web applications.
Table of Contents (17 chapters)
15
Other Books You May Enjoy
16
Index

Index

Symbols

__str__() method 13

__unicode__() method 14

A

abstract model 367

activity stream

displaying 207, 208

add() method, parameters

override_quantity 243

product 243

quantity 243

administration site

creating, for models 16

custom actions, adding 285, 286, 287

Django administration site 17

extending, with custom views 288, 291

models, adding 18, 19

models, customizing 20, 22

superuser, creating 16

administration templates

reference link 291

aggregation

reference link 66

aggregation functions

average value (Avg) 66

count value (Count) 66

maximum value (Max) 66

minimum value (Min) 66

reference link 72

AJAX actions

adding, with jQuery 175, 176

AJAX GET request, scenario

response, with data

response, with no content

AJAX pagination

adding, to list view 185, 186

AJAX requests

performing, with jQuery 180, 182, 183

with cross...