Django for Beginners - Build websites with Python and Django
Django for Beginners - Build websites with Python and Django, by William S. Vincent, 2018
Fair Use Commentary Text of Django for Beginners
Build websites with Python and Django
Table of Contents
Introduction Why Django
Why this book
Book Structure
Book layout
Conclusion
Chapter 1: Initial Set Up The Command Line
Install Python 3 on Mac OS X (click here for Windows or Linux)
Install Python 3 on Windows
Install Python 3 on Linux
Virtual Environments
Install Django
Install Git
Text Editors
Conclusion
Chapter 2: Hello World app Initial Set Up
Create an app
Views and URLConfs
Hello, world!
Git
Bitbucket
Conclusion
Chapter 3: Pages app Initial Set Up
Templates
Class-Based Views
URLs
Add an About Page
Extending Templates
Tests
Git and Bitbucket
Local vs Production
Heroku
Additional Files
Deploy
Conclusion
Chapter 4: Message Board app Initial Set Up
Create a database model
Activating models
Django Admin
Views/Templates/URLs
Adding new posts
Tests
Bitbucket
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 Forms
Update Form
Delete View
Tests
Conclusion
Chapter 7: User Accounts Log in
Updated homepage
Log out link
Sign up
Bitbucket
Heroku config
Heroku deployment
Conclusion
Chapter 8: Custom User Model Set Up
Custom User Model
Forms
Superuser
Conclusion
Chapter 9: User Authentication Templates
URLs
Admin
Conclusion
Chapter 10: Bootstrap Pages app
Tests
Bootstrap
Sign Up Form
Next Steps
Chapter 11: Password Change and Reset Password Change
Customizing password change
Password reset
Custom Templates
Conclusion
Chapter 12: Email SendGrid
Custom emails
Conclusion
Chapter 13: Newspaper app Articles app
URLs and Views
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
Conclusion
Conclusion Open Source Resources
Django Resources
Python Books
Blogs to Follow
Feedback