
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/
Install Sublime Text editor and Git Bash terminal, download and install using default steps on Windows, Mac, or Linux, to prepare your Python and Django project.
Learn how to install Python from python.org, choose a 3.x version, and add Python to the path on Windows, laying groundwork for virtual environments and Django.
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.
Connect your django project by wiring the root urls to the quotes app with include and path. Set the homepage to the app root and expose the admin route.
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.
Create a simple about page by adding templates/about.html, defining an about view that renders the template with a context, and mapping a url to the view.
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.
Explore using a stock quote API to pull data into Django app, starting with obtaining a publishable key and reviewing API docs. Learn how to fetch and display stock data.
Learn how to connect to a third-party API in a Django app by installing requests, parsing JSON, handling errors, and displaying stock data like Apple’s current price on the page.
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.
Recap: build a stock lookup form in Django with a POST request, ticker input, CSRF token, and API call; handle errors and render results on the home page.
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.
Register the stock model with the admin site to expose it in the Django admin area, then add, edit, and delete stocks such as Google, Facebook, and Apple.
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.
Learn how to create a Django stock form using ModelForm, connect to the stock model, validate and save ticker data to the database, and redirect to the home page.
Present stock data in a readable Bootstrap table with striped rows, borders, hover effects, a dark header, and plan to connect to the API for live data.
Configure a seven-column stock table (company name, stock price, previous close, market cap, year-to-date change, 52-week high, 52-week low) and render a row for each database item via the API.
Populate a bootstrap table from database data using a for loop to create each row and a delete column. Prepare to connect to the API to fetch stock data.
Connect a stock table to an API by looping through ticker symbols, making per-ticker API calls, handling JSON responses, and passing collected results to the page via context.
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.
build and wire a delete stock page in a Django app, creating the URL, view, and template, passing the ticker, handling empty cases, and converting actions to Bootstrap buttons.
Turn on the virtual environment, initialize git in the Django stock project, configure user details, commit the initial code, and push to GitHub.
Learn how to set up a GitHub account, create repositories, and push code from the terminal. Understand SSH keys, commits, and version control to track changes.
Explore a limited-time lifetime membership with over 60 courses and PDFs, available for $49 using coupon code Udemy; access all current and future courses and obtain certificates.
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!