
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Choose a text editor you’re comfortable with; Sublime Text is the course default, Notepad++ is an alternative, then download, install, and customize settings across Windows, Mac, or Linux.
Install Django from pip in a virtual environment, verify with pip freeze, and create a to do app project ready for running the server and migrations.
Django has updated to version 3.0 since this course was released. You can use the latest version of Django with no problems in this course.
Create and register a new Django app in your project, add it to installed apps, and review its basic structure: migrations, models, and views.
Explore setting up django routing with urls.py: wire the admin route and include your new to-do list app, defining the root path and future url patterns.
Create a base template and extend it with blocks in Django to share the navigation bar and footer across all pages from one file.
Explore how django dynamic links use named urls and embedded python to update navigation automatically when paths change, avoiding hard-coded html links across a site.
Learn how to pass Python data into Django pages using a context dictionary, render variables in templates, and output dynamic content on pages.
Register your to-do list model in Django admin, display items, and manage status with booleans and simple formatting to reflect completed tasks.
Transform the to-do list from a basic list to a bootstrap table by applying table classes, adding striped and bordered styles, and coloring rows when items are completed.
Learn how Django handles get and post requests and form submissions. Save data to the database, redirect to the home page, and show a flash message after adding an item.
Add a user-facing confirmation message using Django's messaging framework, display it on the home page as a bootstrap alert after adding an item, and include a dismiss button.
Add a delete path and view that uses the item’s primary key (list_id) to delete the to-do item, then redirect to the home page and update links.
Get the source code for the course here:
https://github.com/flatplanet/Python-To-Do-App
Django and Python can seem overwhelming at first, but they don't have to be! In this course I’ll walk you through it step by step and you’ll be building your first web app in MINUTES. You’ll be amazed how quick and easy it is to create very professional looking websites, even if you have no programming or web design experience at all.
Watch over my shoulder as I build a cool To-Do List app step by step right in front of you. You’ll follow along and build your own copy. By the time we’re finished, you’ll have a solid understanding of Django and how to use it to build awesome web apps.
The course contains 28 videos – and is just over 2 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or software to take this course, though any experience with HTML or CSS is a plus. You don’t even need to know the Python programming language. I’ll walk you through EVERYTHING.
Django is a great web development tool and learning it has never been this easy.
What We'll Build...
We'll build a cool To-Do List app that let's you make lists and save them to a database. You can update items as you complete them to "cross them off the list".
We'll style the website using the popular Bootstrap CSS framework (I'll show you how to use it!)
Sign up today and I'll see you on the inside!