Build your first website with Django 2.1

Just starting out with Django?

Sick of snippets and want to build something you can use?

Then this is the book for you!

Build your first website with Django 2.1 is the second edition of the popular Build your first website with Python and Django, fully updated for Django 2.1.

Not only has the book been updated to cover the latest version of Django, but the content has been rewritten and expanded in key sections in response to feedback from purchasers of the first edition.

Your complete introduction to Django 2

Written for Django 2.1 and Python 3.7, this book lays out the why, what and how of Django using the absolute latest versions of Django and Python. In the book I cover all the core concepts of Django to get you up and running fast:

  • Why Django is the premier Python framework for developing web applications
  • The big picture - how Django is structured
  • Introduction to Python for Django programmers
  • Django Models
  • Django Views
  • Django Templates
  • The Django admin
  • Generic views
  • Simple forms
  • Complex forms and model forms
  • Managing Users
  • Restricted content
  • File uploads
  • Sending email
  • Deploying a Django application

Learn by building a real website

This book is not about boring theory. You'll be building a fully functioning website as you learn Django. I even show you how to deploy your website to the Internet for free.

Each chapter of the book is written in the same, easy to understand style as my previous books. I also explain each line of code as we go so you gain the fullest understanding of what is going on with your Django application.

By the end of the book you will not only know all of the basics needed to write an awesome Django website, but you will have a functioning website ready for deployment or to demonstrate to an employer.

Or to show off to your friends :)

Praise for the first edition...

Yuriy Honcharenko

[The book] wasn’t the first my attempt to start learning Django, but it was the first successful one. You are explaining complex things in such a way that they become digestible for beginners.

The reader can follow the creation of a site from the very beginning, step by step. And after all get a simple, but working resource, deployed in the web.

All information is good structured, given in digestible portions, and the author avoids digging in concepts that too complex for beginners. Every page says to the reader: Keep calm and follow how stuff is getting done.

My conclusion? “Build your first website with Python and Django” is the best point to start learning Django from.

Karen C.

I'm finding it to be useful not only from a "cookbook" standpoint, but also very well written with clear technical explanations suitable for beginners.

Ashley Gilles

There are many django books out there, but none explain the concepts like you do.
You made me understand something I have been struggling over for almost 6 months now, I just understood it in just about 10 mins of reading your book.

Néstor Rodríguez-Triana Domínguez

Your pedagogical writing style it's amazing! I think you are a great teacher and communicator. Despite that English it's not my native language I understood easily all Django concepts that you explained in you book.


 If the book doesn't meet your needs, for any reason, just send me an email within 14 days of your purchase and I will refund you the full purchase price.

eBook Bundle

SAVE 5​0%

  • check
    Get all three formats
  • Read at home and on the go
  • Print out for offline use
  • Includes full source code

$57 $29


Suitable for:

  • check
  • Nook
  • iBooks
  • check
    Most eReader Software (except Kindle app)
  • plus
    Book source code 



Suitable for:

  • check
    Kindle eReaders
  • check
    Kindle app
  • plus
    Book source code 



Suitable for:

  • check
  • check
  • check
    Print Ready
  • plus
    Book source code 


Looking for the paperback? Click here (takes you to Amazon US site)

Copyright  2018 by The Django Book