Jump to ratings and reviews
Rate this book

Django 2 by Example: Build powerful and reliable Python web applications from scratch

Rate this book
Learn Django with four end-to-end projects
Key Features Book DescriptionIf you want to learn the entire process of developing professional web applications with Django, then this book is for you. You will walk through the creation of four professional Django projects, teaching you how to solve common problems and implement best practices.
You will learn how to build a blog application, a social image bookmarking website, an online shop and an e-learning platform. The book will teach you how to enhance your applications with AJAX, create RESTful APIs and setup a production environment for your Django projects. The book walks you through the creation of real-world applications, solving common problems, and implementing best practices. By the end of this book, you will have a deep understanding of Django and how to build advanced web applications.
What you will learn Who This Book Is ForIf you are a web developer who wants to see how to build professional sites with Django, this book is for. You will need a basic knowledge of Python, HTML, and JavaScript, but you don't need to have worked with Django before.

526 pages, Paperback

Published May 31, 2018

7 people are currently reading
44 people want to read

About the author

Antonio Melé

2 books2 followers
Founder at Zenx IT, CTO at Exo Investing and author of Django by Example

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
15 (55%)
4 stars
9 (33%)
3 stars
3 (11%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
Profile Image for Eric Mesa.
844 reviews26 followers
September 8, 2021
If you want to learn Django, definitely get the newer version of this book that covers Django 3. That said, this book was VERY helpful in getting me started with Django for the first time. My brain tends to work better with "by example" or project-based books because it shows how the pieces come together. Whenever I've come across programming languages and/or frameworks (Django, Rails, Flask, etc) that only have toy examples I've often had a hard time moving from there to a real application. (or at least a harder time than when I have those project-based examples)

This book has a few projects like a blog, a social media network, etc to demonstrate ever more complicated examples of what can be accomplished with Django. Again, look or the newer version covering Django 3, but it's one of the better Pakt books.
Profile Image for Benoit Blanchon.
Author 2 books7 followers
February 17, 2019
I've no doubt it's the best book on Django: example-driven, practical, well thought...

Some ideas for the next editions:
1. talk about package management with requirements.txt (or better with Pipenv)
2. explain how to deploy on main cloud providers
Profile Image for Ferdia.
18 reviews
December 27, 2020
Great book for learning Django with clear examples via the projects and good explanations of what's being done at all times. I'd highly recommend it to anyone with knowledge of Python who wants to get started with Django, or knows the basics of Django and wants to become more familiar with it and learn best practices.
Profile Image for J. Alberto.
40 reviews
July 5, 2020
Good set of examples, but the many of the examples don't really work unless you're using a Mac or a Linux box. Some of the chapters were lacking in background or fundamental information.

You may find it useful still, but you definitely need to do your own stuff if you want to learn for real.

-J
Profile Image for Woniok Chung.
1 review
March 5, 2019
It's written in a systematic way. Beginners to Django can practice its overall features very coherently by reading this book! I can tell this is an ideal tutorial book for Django.
Profile Image for Terry.
12 reviews
Read
April 2, 2019
Django 2 my Example was a great primer for Django, but you'll need strong Python and WEB Dev knowledge to make the most of the book.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.