𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Django for Beginners: Build Websites with Python and Django 3.1

✍ Scribed by William S. Vincent


Publisher
leanpub
Year
2020
Tongue
English
Leaves
282
Edition
3.1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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 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.

Reviews

"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

✦ Table of Contents


Table of Contents......Page 4
Why Django......Page 9
Book Structure......Page 11
Book Layout......Page 13
Conclusion......Page 14
The Command Line......Page 15
Install Python 3......Page 17
Virtual Environments......Page 18
Install Django......Page 19
Install Git......Page 23
Conclusion......Page 24
Initial Set Up......Page 25
Create An App......Page 30
URLs, Views, Models, Templates......Page 32
Hello, World!......Page 35
Git......Page 36
GitHub......Page 37
SSH Keys......Page 40
Conclusion......Page 41
Initial Set Up......Page 42
Templates......Page 44
Class-Based Views......Page 46
URLs......Page 47
About Page......Page 49
Extending Templates......Page 50
Tests......Page 53
Local vs Production......Page 55
Heroku......Page 56
Deployment......Page 59
Conclusion......Page 61
Initial Set Up......Page 62
Create a database model......Page 65
Activating models......Page 66
Django Admin......Page 67
Views/Templates/URLs......Page 72
Adding New Posts......Page 77
Tests......Page 78
GitHub......Page 81
Heroku Configuration......Page 82
Heroku Deployment......Page 83
Conclusion......Page 84
Initial Set Up......Page 86
Database Models......Page 88
Admin......Page 90
URLs......Page 94
Views......Page 95
Templates......Page 96
Static Files......Page 98
Individual Blog Pages......Page 103
Tests......Page 108
Git......Page 109
Conclusion......Page 110
Forms......Page 111
Update Form......Page 120
Delete View......Page 125
Tests......Page 129
Conclusion......Page 132
Log In......Page 134
Updated Homepage......Page 137
Log Out Link......Page 138
Sign Up......Page 141
GitHub......Page 146
Static Files......Page 147
Heroku Config......Page 150
Heroku Deployment......Page 151
Conclusion......Page 153
Initial Set Up......Page 154
Custom User Model......Page 156
Forms......Page 159
Superuser......Page 162
Conclusion......Page 164
Templates......Page 165
URLs......Page 168
Admin......Page 172
Conclusion......Page 176
Pages App......Page 177
Tests......Page 179
Bootstrap......Page 182
Sign Up Form......Page 187
Conclusion......Page 193
Password Change......Page 194
Customizing Password Change......Page 195
Password Reset......Page 198
Custom Templates......Page 201
Conclusion......Page 205
SendGrid......Page 206
Custom Emails......Page 215
Conclusion......Page 219
Articles App......Page 220
URLs and Views......Page 225
Edit/Delete......Page 229
Create Page......Page 234
Conclusion......Page 240
Improved CreateView......Page 241
Authorizations......Page 242
Mixins......Page 244
LoginRequiredMixin......Page 246
UpdateView and DeleteView......Page 247
Conclusion......Page 249
Model......Page 250
Admin......Page 251
Template......Page 257
Conclusion......Page 261
Chapter 16: Deployment......Page 263
Environment Variables......Page 264
.gitignore......Page 265
DEBUG & ALLOWED HOSTS......Page 266
SECRET_KEY......Page 269
DATABASES......Page 270
Static Files......Page 271
Deployment Checklist......Page 273
Git & GitHub......Page 274
Heroku Deployment......Page 275
Conclusion......Page 277
Django for APIs......Page 279
Learning Resources......Page 280
Feedback......Page 281


πŸ“œ SIMILAR VOLUMES


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
πŸ“‚ Library πŸ“… 2022 πŸ› Leanpub 🌐 English

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 us

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 πŸ› 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 πŸ“… 2018 πŸ› WelcomeToCode 🌐 English

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