Python and Django Web Developer
$4.99
Minimum price
$9.99
Suggested price

Python and Django Web Developer

Build your First Web Application from Scratch

About the Book

So, you are looking to build a great site with Django and Python, right ?

Build the most awesome websites with Python and Django, learn the basics with this book and speed up your learning curve.

This book is the perfect introduction for you to take a look under the hood and understand everything that makes a Django site, hopefully it will be a motivation for you to continue learning Python and programming in general.

Check out other books from the author:

Learning Python Programming from Scratch

Javascript Snippets

Appwrite Up and Running

Front End Developer Interview Questions

ReactJS Documentation

Backend Developer Interview Questions

VueJS Documentation

DevOPs

Data Science Workflow for Beginners

  • Share this book

  • Feedback

    You must own a copy of this Book to access the forums.

    Email the Author(s)

About the Author

Alejandro Garcia
Alejandro Garcia

I started my coding career back in 2003. Lately I've been involved a lot in Javascript for frontend and the backend.

I would love passing along to you some of the experiences and challenges I've faced over the years.

Bundles that include this book

$19.98
Suggested Price
$6.99
Bundle Price

Table of Contents

  • Other Books by Alejandro
    • Recommended Resources
  • Introduction
    • Who is this book for ?
    • What this book covers ?
  • Chapter 1: Python Installation
    • Let’s start with Python
    • Visual Studio Code
    • Gedit
    • Sublime Text 3
    • Atom
    • Why are we installing a code editor?
  • Chapter 2: Introduction to Python
    • Python prompt
    • Your first Python command!
    • Strings
    • Errors
    • Variables
    • The print function
    • Lists
    • Dictionaries
    • Compare things
    • Boolean
  • Save it!
    • If … elif … else
    • Comments
    • Your own functions!
    • Loops
    • Summary
  • Chapter 3: Starting with Django
    • What is Django?
    • Why do you need a framework?
    • What happens when someone requests a website from your server?
    • Virtual environment
    • Working with virtualenv
    • Installing Django
    • Your first Django project!
    • Changing settings
    • Set up a database
    • Starting the web server
  • Chapter 4: Explore and Deploy Django
    • Django models
    • Objects
    • Django model
    • Django admin
    • Deploy Django!
  • Git
    • Installing Git
    • Starting our Git repository
    • Pushing your code to GitHub
  • Setting up our blog on PythonAnywhere
    • Sign up for a PythonAnywhere account
    • Creating a PythonAnywhere API token
    • Configuring our site on PythonAnywhere
    • You are now live!
    • Debugging tips
  • Check out your site!
  • Chapter 5: Django URLs
    • What is a URL?
    • How do URLs work in Django?
    • Your first Django URL!
    • blog.urls
  • Chapter 6: Django Views
    • blog/views.py
  • Chapter 7: Introduction to HTML
    • What is HTML?
    • Your first template!
    • Head and body
    • Customize your template
    • One more thing: deploy!
  • Chapter 8: Django ORM and QuerySets
    • What is a QuerySet?
    • Django shell
  • Chapter 9: Django templates
    • What are template tags?
    • Display post list template
    • One more thing
  • Chapter 10: Dynamic data in templates
    • QuerySet
  • Chapter 11: Template extending
    • Create a base template
  • Adding CSS to the template
    • What is CSS?
    • Let’s use Bootstrap!
    • Install Bootstrap
    • Static files in Django
    • Your first CSS file!
  • Chapter 13: Extend your application
    • Create a template link to a post’s detail
    • Create a URL to a post’s detail
    • Add a post’s detail view
    • Create a template for the post details
  • Deploy time!
    • Updating the static files on the server
  • Chapter 14: Django Forms
    • Link to a page with the form
    • URL
    • post_new view
    • Template
    • Saving the form
    • Form validation
    • Edit form
    • Security
    • One more thing: deploy time!
  • Keep developing your Python skills
  • About the Author

Authors have earned$10,257,955writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub