🌟 Completely updated for Django 4.2! 🌟
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 and 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
- Implement signup, login, logout, password change, and password reset
- Customize the look and feel of your sites
- Write tests and run them for all your code
- Add permissions and authorizations to make your app more secure
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.
Who are you?
Hi, I'm William Vincent. I have used Django since 2012 and am a former Board Member of the Django Software Foundation. I co-host the Django Chat podcast, co-write the weekly Django News newsletter, and gave conference talks at DjangoCon US 2018, 2019, and 2022.
A PDF watermarked with your email address and an ePub file for each book. Source code is available on GitHub. Updates for future editions (I have updated the book since Django 1.11) are automatically included.
Can I receive an invoice?
Yes! Gumroad will send you a receipt with a "generate" button to turn it into an invoice so you can be reimbursed by your employer.
“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 Co-Founder, and REVSYS Partner
“Django for Beginners is my go-to recommendation whenever anyone asks how to learn Django. It starts with a friendly and patient approach but manages to cover all the core fundamentals, dives into deployment, and has extensive coverage of testing. If you are looking for one book to master Django, this is it!”—ANNA MAKARUDZE, former President of the Django Software Foundation
“A fantastic on-ramp to this brilliant web framework. Django for Beginners doesn’t just talk about building sites with Django, it walks you through five of them. Get in the reps!”—ADAM JOHNSON, Django Steering Council member and author of two intermediate Django books
“Choosing a book for your Django learning journey is a big commitment of your time and energy. That's why it matters who the author is and the intended audience. I've known Will for many years and he's deeply embedded in the Django community. He is a former Board Member of the Django Software Foundation and cohost of the 5-years running DjangoChat podcast. This means he's thought a lot about how people learn and use Django. That goes way beyond just reading the docs and doing a tutorial.” —MICHAEL KENNEDY, host of Talk Python and Python Bytes podcasts, founder of Talk Python Training