
Introduce the course and essential tools for Python and Django, including a text editor such as Sublime Text, and a terminal like Git Bash, plus Python installation guidance and support.
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/
Create a dedicated directory for your Django project, set up and activate a Python virtual environment, then install Django inside this isolated container.
Install django via pip inside a virtual environment, create a new project named stocks, and run the Django development server to view the default rocket ship page at localhost:8000.
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.
Explore the Django admin area by running the dev server, migrating the database, and creating a super user with manage.py, enabling login at localhost:8000/admin to manage users and groups.
Create a quotes app within the Django project, set up its URLs, and configure basic app structure to begin building stock quotes functionality with models and views.
Create the Django homepage by wiring a view, template, and URL: add the quotes app to settings, make templates/home.html, define home(request) to render it, and map '' to views.home.
Learn to use Django's URL naming system to generate links from urls.py instead of hard-coded anchors, so navigation updates automatically when routes change.
Learn to work with API data in Python by treating responses as dictionaries of key-value pairs, handle errors, and use a for loop to print stock market keys and values.
Pull and display key stock data from an API, including company name, latest price, previous close, market cap, 52 week high, 52 week low, and year to date change.
Learn to add a Django search form for stock quotes, include a CSRF token, customize a Bootstrap button, and post results to the home view using a URL tag.
Create a Django stock model with a ticker field, register it in the admin, and follow a two-step process to migrate the database with makemigrations and migrate.
Add a stock ticker to the database by using a Django form, validating post data, saving the ticker, and showing a success message with a redirect to the same page.
Connect database to API and populate a stock table by looping over items, fix table structure, and format prices, changes, and market data for a Django-based stock app.
Turn on the virtual environment, initialize git in the Django stock project, configure user details, commit the initial code, and push to GitHub.
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 Stock Market 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 39 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 Stock Market Portfolio app that let's you save stock ticker symbols to the database, then connects to a third party API to collect stock market information about your stocks!
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!