
Learn how to properly create a Python virtual environment for a Django project with venv. This tutorial will cover creating and activating a Python venv so your project is self-contained.
Learn how to start your very first Django project and run it to display the default landing page with a green rocket that says “The install worked successfully! Congratulations!” While startproject uses the django-admin command, runserver uses starts the development server with the manage.py command-line utility.
Learn how to create a website with Python. This tutorial for beginners will install Django then start a basic Django project that displays a “Hello World” website.
Learn how to use templates in Django and render HTML pages to minimize duplicated markup.
Learn how to save and read database data with Django models. You don’t need have any experience with SQL or databases because Django does the complicated things for you. With the built-in Django shell (accessible with “python manage.py shell”, we will retrieve all model objects and filter them in various ways exclusively with Python syntax.
Learn how to set up the Django admin site with a super user where you can login to interact with your models via admin.py.
Learn how to make dynamic pages in Django by rendering templates with context that you can populate with model data. This tutorial will display the Django model in a table that’s accessible to the public.
Learn how to use Django forms to let Django do all the heavy lifting and automatically write HTML form elements for you. By extending the ModelForm and rendering it in your template from context, we can display the entire form or element by element.
Learn basic CRUD operations for Django so you can create, read, update, and delete data directly from a public web page. This tutorial will guide you through a simple CRUD example that uses a Django model to interact with the database.
Learn how to spice up your Django website with the Bootstrap CSS framework. In this tutorial, we will be using Bootstrap 5 to wrap our HTML body in a container, stylize our table with a border, and make colorful buttons with btn success, danger, and primary.
This online course will teach you the fundamentals of Django, a Python web framework. Throughout the 10 lessons, you will build a website with Python.
By the end of the tutorial, you will have a functional Python website where you can add, update, and delete names and corresponding scores from a table. This design pattern is called CRUD which stands for create, read, update, and delete.
Specific fundamental Django topics that will be learned include:
Django templates
Django models
The Django admin site
Django context
Django forms
After getting your Python virtual environment set up on your computer, you will install Django and use the development server to run a basic Hello World website to get familiar with the development cycle.
Then each following lecture will introduce just one or two Django concepts where you can follow along to solidify your understanding.
All video tutorials in this Django course are step-by-step screen recordings where I walk you through each step of the development process. You can follow along at your own pace.
You can use any operating system including Mac, Windows, and Linux to participate in the coding exercises, but please note that some of the setup instructions might differ.