Other Sellers on Amazon
Follow the Author
Django for Beginners: Build Websites with Python and Django (Welcome to Django)
Enhance your purchase
Completely updated for Django 4.0.
Django for Beginners is a project-based introduction to Django, the popular Python-based web framework. Suitable for total beginners who have never built a website before as well as professional programmers looking for a fast-paced guide to modern web development and Django fundamentals.
In the book you’ll learn how to:
- Build 5 websites from scratch, including a Blog and Newspaper website
- Deploy online using security best practices
- Customize the look and feel of your sites
- Write tests and run them for all your code
- Integrate user authentication, email, and custom user models
- Add permissions and authorizations to make your app more secure
- Identify common mistakes and errors so you can build your own websites
If you’re curious about Python-based web development, Django for Beginners is a best-practices guide to writing and deploying your own websites quickly.
"When readers interested in web development ask me what to read next after Python Crash Course, I refer them to Will's books: Django for Beginners, Django for APIs, and Django for Professionals. I highly recommend you check out his work."—ERIC MATTHES, author of Python Crash Course
"If you’re looking for a guide into the world of Django, then the three-step of Django for Beginners, Django for APIs, and Django for Professionals is ideal: get up and running, get into APIs, which are a cornerstone of modern app development, and then add the bits you need to your fledging app into production, from databases and static files, to user accounts and security. It’s a long road. Will’s books are an awesome companion."—CARLTON GIBSON, Django Fellow and Django REST Framework core contributor
"Will's books are a fantastic resource for web development with Django and Python. I highly recommended them"—JEFF TRIPLETT, Python Software Foundation Director, DEFNA President, and REVSYS Partner
- Publisher : WelcomeToCode (August 10, 2020)
- Language : English
- Paperback : 317 pages
- ISBN-10 : 1735467200
- ISBN-13 : 978-1735467207
- Item Weight : 1.11 pounds
- Dimensions : 7.5 x 0.72 x 9.25 inches
- Best Sellers Rank: #137,197 in Books (See Top 100 in Books)
- Customer Reviews:
About the author
Reviewed in the United States on August 9, 2018
Reviews with images
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
My development team has been looking for something that might be easier for them to not understand...
Enter Python. They have heard of that. They feel better.
After a bit of research, Django looked to be our best path as a framework going forward. Strong community support was our benchmark and Django had that in spaids.
So, here we came: learn Python and learn Django. All of that silly backstory aside, I was game. Even enthused. And my early dummy tutorials on python were promising, and then came Django.
Let me be plain, GOOD BOOK. It does do what it promises. It teaches you how to build a Django website and shows you some python stuff.
The glaring omission of this book is where the business logic goes. Much of this book is about make this content, edit this content, see this content, update or delete this content...
Hi, I live in a real programmer world. I don't just input content, I do stuff with it. I analyze it. I mess with it. And I like doing that. And my investment firm expects me to do that. Yesterday.
I didn't expect for this book to tell me how to save the world, but I did wish it would have told me where to do so. Where does my business logic go?
That rant aside, this book left me comfortable working with Python and Django. I'll figure the rest out.
"My goal is that this book fills in gaps and showcases how beginner-friendly Django really is."
This book did more than that for me.
Best book for learning Django. Unlike other books, THIS BOOK IS CURRENT! According to the last page of my book, it was PRINTED ON THE DAY I ORDERED IT!
This book ->introduces<- everything you need to work w/ Django.
- urls, forms, templates, statics, etc
- deploying to heroku
You won't be an expert, but it's nice to be able to practice a complete workflow b/c these things are just as important as learning Django itself.
My Django journey:
I did Python projects for about 4 months. When I felt comfortable w/ terminal and tkinter scripts, I moved onto DJango.
I started w/ the official tutorial.
- I got through it but didn't understand most of it.
I battled w/ basic projects for about a month.
Purchased Two Scoops of Django 1.11.
- Forced myself through 3/4 of it
- Understood about a 1/3 of it
- Adopted their suggested project structure
- Failed miserably at cookiecutter Django
By now, could set up basic projects, but didn't fully grasp urls, forms, templates, static, and a few others.
This book helped piece all of that together. The way that it progresses helps hammer in the basics.
It starts with a simple project. Then a second project, repeats the simple project but adds an element. Then a third that repeats the simple project, the previous element, then introduces another element. And so on.
Most things just sort of fell into place as I went through the book. Forms, however.... I re-read that chapter like 5 times before it finally clicked.
Is this book for complete beginners? Maybe, I don't know. I learn by fighting my way through a project or two and then going through official tutorials, courses, or books to fill in gaps. This book did that, and more.
It's been a few months since I got through the book. I have since done a few projects for work and friends, and am able to navigate through the official Django documentation quite well. Can't wait until Two Scoops ... 2.2 comes out. And all thanks to this book.
If you're like me: you learn by doing and like to fill in gaps reading books.
If you've done a few projects and can set up a project and get some pages up but are looking for that extra resource to explain how forms work, or you just don't quite get how to structure the project, or something similar.
This book is for you.
Top reviews from other countries
Even if you don't know much python, all the code is set out in the book and easy to follow. Often when I had errors it was due to my typing rather than the book!
Only one issue I had was using pipenv (heavily used in the book). This is a tool under constant development and currently has bugs in Windows which meant I was unable to use it. However, there is plenty of resource on the web to use standard venv instead (and relevant adjustment for deployment to Heroku).
Highly recommend the book, and if you have a Mac or use Linux I don't think you'll find a single thing wrong! I've got William's second book (APIs) arriving tomorrow.
For example, Will lays out how to create basic custom user models - the code that allows you to add login functionality - really clearly. Within an hour of working on that chapter, you'll understand the fundamental ins and outs of writing code that allows people to log in and out of a basic website - and implement it on the projects the book leads you through.
But Will encourages you to think further down the line, so that while you're working on basic apps, you will understand how the principles apply to more complex apps later on. Following the book chapter by chapter gave me confidence, because I saw quick results (as you would hope from Django) and built apps that mirror real-world websites and functionality, but also had an idea of how what I was learning applies to larger and more complex apps later on.
It's also a super readable book; it reads the furthest thing from a textbook, but I can see myself going back to it as if it was.
I'll be purchasing Django for Professionals right after completing this review.
I typed every piece of code (there are 5 projects, increasing in functionality as you progress), every section taught me many new things.
I found it so easy to follow. I bought the kindle version and had the reader open on my PC screen beside my editor.
The kindle version is full of links to useful resources and helpful websites.
I will be moving on to the Authors Professional book now.
Thanks for the education Mr. Vincent.