๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Django for Beginners: Build websites with Python & Django


Publisher
Leanpub
Year
2022
Tongue
English
Leaves
306
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Completely updated for Django 4.01. A step-by-step guide to building web applications with Python and Django. Create, test, and deploy 5 progressively more complex websites including a Message Board app, a Blog app with user accounts, and a robust Newspaper app with reader comments and a complete user registration flow.

โœฆ Table of Contents


Table of Contents
Introduction
Why Django
Why This Book
Prerequisites
Book Structure
Book Layout
Advice on Getting Stuck
Community
Conclusion
Chapter 1: Initial Set Up
The Command Line
Shell Commands
Install Python 3 on Windows
Install Python 3 on Mac
Python Interactive Mode
Virtual Environments
Install Django
First Django Project
Text Editors
Install Git
Conclusion
Chapter 2: Hello World App
Initial Set Up
HTTP Request/Response Cycle
Model-View-Controller vs Model-View-Template
Create An App
Hello, World
Git
GitHub
SSH Keys
Conclusion
Chapter 3: Pages App
Initial Set Up
Templates
Class-Based Views
URLs
About Page
Extending Templates
Tests
Git and GitHub
Local vs Production
Heroku
Deployment Checklist
Conclusion
Chapter 4: Message Board App
Initial Set Up
Create a Database Model
Activating models
Django Admin
Views/Templates/URLs
Adding New Posts
Tests
GitHub
Heroku Configuration
Heroku Deployment
Conclusion
Chapter 5: Blog App
Initial Set Up
Database Models
Admin
URLs
Views
Templates
Static Files
Individual Blog Pages
Tests
Git
Conclusion
Chapter 6: Forms
CreateView
UpdateView
DeleteView
Tests
Conclusion
Chapter 7: User Accounts
Log In
Updated Homepage
Log Out Link
Sign Up
Sign Up Link
GitHub
Static Files
Heroku Config
Heroku Deployment
SQLite vs PostgreSQL
Conclusion
Chapter 8: Custom User Model
Initial Set Up
Custom User Model
Forms
Superuser
Conclusion
Chapter 9: User Authentication
Templates
URLs
Admin
Tests
Conclusion
Chapter 10: Bootstrap
Pages App
Tests
Testing Philosophy
Bootstrap
Sign Up Form
Conclusion
Chapter 11: Password Change and Reset
Password Change
Customizing Password Change
Password Reset
Custom Templates
Try It Out
Conclusion
Chapter 12: Email
SendGrid
Custom Emails
Conclusion
Chapter 13: Newspaper App
Articles App
URLs and Views
Detail/Edit/Delete
Create Page
Conclusion
Chapter 14: Permissions and Authorization
Improved CreateView
Authorizations
Mixins
LoginRequiredMixin
UpdateView and DeleteView
Conclusion
Chapter 15: Comments
Model
Admin
Template
Comment Form
Comment View
Comment Template
Comment Post View
Conclusion
Chapter 16: Deployment
Environment Variables
DEBUG & ALLOWED HOSTS
SECRET_KEY
DATABASES
Static Files
Deployment Checklist
GitHub
Heroku Deployment
Conclusion
Conclusion
Next Steps
3rd Party Packages
Learning Resources
Python Books
Feedback


๐Ÿ“œ SIMILAR VOLUMES


Django for beginners: build websites wit
โœ William S. Vincent ๐Ÿ“‚ Library ๐Ÿ“… 2022 ๐ŸŒ English

A step-by-step guide to building web applications with Python and Django 3.0. Create, test, and deploy 5 progressively more complex websites including a Message Board app, a Blog app with user accounts, and a robust Newspaper app with reader comments and a complete user registration flow. Alon

Django For Beginners: Build Websites Wit
โœ William S. Vincent ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› Independently Published ๐ŸŒ English

A step-by-step guide to building web applications with Python and Django 3.0. Create, test, and deploy 5 progressively more complex websites including a Message Board app, a Blog app with user accounts, and a robust Newspaper app with reader comments and a complete user registration flow. Along the

Django for Beginners: Build websites wit
โœ William S. Vincent ๐Ÿ“‚ Library ๐Ÿ“… 2022 ๐Ÿ› leanpub.com ๐ŸŒ English

<div> <p>Completely updated for Django 4.0.</p> <p>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

Django for Beginners: Build Websites wit
โœ William S. Vincent ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› William S. Vincent ๐ŸŒ English

<div><p>A step-by-step guide to building web applications with Python and Django 2.1.</p><p>Create, test, and deploy 5 progressively more complex websites including a <em>Message Board</em> app, a <em>Blog</em> app with user accounts, and a robust <em>Newspaper</em> app with reader comments and a co

Django for Beginners: Build Websites wit
โœ William S. Vincent ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› leanpub ๐ŸŒ English

Completely updated for Django 3.1. 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 developmen