Hello Web App (Add the Custom Designed PDF)
Hello Web App
Learn how to build a web app using Django and Python! Updated for Django 2.0 and Python 3.
About the Book
Learn how to code web apps and get on the path to building your next side project, your lifestyle business, or your startup.
Updated for Python 3 and Django 2.0. Now including twice the original content.
Hello Web App is written for non-programmers by a designer, and will walk you through every step you need before launching your web app live to real customers. No jargon, simple and friendly language, using the Python programming language and the Django framework.
This book doesn't walk you through a specific tutorial, but instead uses a generic example (a "collection of things") to allow you to create something that interests you. A blog is a collection of posts, a store is a collection of products, a directory is a collection of people. The possibilities are endless.
Learn by doing—creating a project unique to you while teaching yourself how to build a web app.
What you'll learn
Part 1
How to build a web app with Django
Django is the easiest way to launch a web app with users, registration, and dynamic objects.
How to use the Django admin
The best part about Django! Learn how to view and update your database using the Django admin.
Adding user registration
Allow folks to sign up for your web app! Learn how to add registration and login pages.
How to add payments with Stripe
Want to start generating revenue? Learn in this quick-and-easy chapter on adding Stripe.
Launch your web app on Heroku
Get your web app live on the internet for folks to see! Deployment made easy.
Part 2
Add user-uploaded images
Allow your users to upload images for their profiles or products.
Editing and resizing images
Learn how to set up your project to automatically resize or edit images.
Working with sessions
Learn how to store data short-term.
Learn how to work with multiple models
Break out your project into multiple models to store more information.
How to add payments with Stripe
Monetize your site and add payments or subscriptions to your accounts.
Adding Gulp, Sass, and other front-end technology
Learn how to integrate front-end tools and Node into your Django web app.
Adding an API
Add an API to your web app so your data can be accessed and used by other apps.
And more!
Packages
Add the Custom Designed PDF
Add the custom designed Hello Web App PDF to your order!
Includes:
The Custom Designed PDF
The custom designed Hello Web App PDF — the same design that is in the printed paperback.
English
PDF
EPUB
MOBI
WEB
The Book
English
PDF
EPUB
MOBI
WEB
Complete Hello Web App Package
The entire Hello Web App collection — Leanpub PDF, .mobi, and .ePub files, custom designed PDF, and 15 instructional screencasts to walk you through Hello Web App.
Includes:
The Custom Designed PDF
The custom designed Hello Web App PDF — the same design that is in the printed paperback.
Instructional videos
15 instructional videos and screencasts including: How to use Git, using the command line, a walkthrough of real life web app code, a walkthrough of creating a unique website feature, and 11 videos covering every chapter of the book.
English
PDF
EPUB
MOBI
WEB
Table of Contents
- Introduction
-
What We’re Building
- MVP: Minimum Viable Product
-
Prerequisites
- HTML and CSS
- Python (just a bit)
- Suggestion: A Linux or Mac computer
- Getting Started
-
Setting Up Your Templates
-
Adding a URL to
urls.py
- Creating your first view
- Adding static files
-
Adding a URL to
-
Fun With Template Tags
- Building complex templates with inheritance
- Adding a few other static pages
- Passing in variables and template tags
-
Adding Dynamic Data
- Your local database
- Setting up your model
- Finishing setting up your database with migrations
- Using the Django admin
-
Displaying Dynamic Information in the Templates
- Querying for info from the database
- Retrieving and filtering information with QuerySets
-
Setting Up Individual Object Pages
- Adding the new pages to our URL definitions
- Create the view
- Setting up the template
-
Forms.py Funsies
-
Update your
urls.py
- And then add your view…
-
Create your
forms.py
file
-
Update your
-
Adding a Registration Page
- Installing our first third party plugin for registration
- Setting up password reset functionality
-
Associating Users with Objects
-
Changing our model so
User
s can own aThing
- Updating your registration flow
-
Changing our model so
-
Setting Up Basic Browse Pages
- Set up your URL routing
- Set up the view
- Create the template
- Updating your nav and setting up redirects
-
Quick Hits: 404 Pages, requirements.txt, and Testing
- Setting up 404 and 500 error pages
- Setting up a requirements.txt
- Setting up your first tests
- Deploying Your Web App
-
Setting up Heroku
- Installing a few extra packages
- Creating your Procfile
- Setting up your static files for production
- Creating your app on Heroku
- Setting up your production database
- Error pages usually help you find the problem
- Googling the error usually comes up with helpful answers
- Ask for help
-
Important Things to Know
- Code style
- Documentation
- Security
- Using the Django Shell
-
Moving Forward
- Keep building your app
- Great books and additional reading
- Additional tutorials and resources
- Free online classes
- In-person programming schools and development courses
- Stay in touch with Hello Web App
-
Special Thanks
- Super duper thanks to our sponsor
- Book reviewers, editors, and testers
- Help and suggestions
- Kickstarter backers
- References
- Friendly Note
- About the Author
Authors have earned$9,883,643writing, 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
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #10
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...