View on GitHub

Ready-to-use Presentations

Pick a topic to present with ready-made presentations!

Create your first website with Django

Learn module

Get started with Django

Goals

In this workshop you will create your first website using Django. Attendees will be introduced to Django and the Learning Path.

Goal Description
What will you learn How to create your first Django project, configure routing, and using views.
What you’ll need Python and Visual Studio Code
Duration Roughly 1 hour
Slides Powerpoint

Video walk-through

Pre-Learning

Prerequisites

What students will learn

Are you looking for a web framework which can streamline project creation? Are you looking to quickly create a website which uses a database as a back-end? Django is the perfect tool for the job! You will learn the core concepts of Django, how to install the framework and create your first project, and configure routing and views.

Workshop flow

Setup your environment

Attendees will start by configuring their environments. They will install the necessary tooling, create the folder for their project, and setup the necessary Python libraries.

Create the project and app

After setting up the environment, attendees will create the project and app. Projects serve as the container for apps and global settings, while apps contain the code for to respond to user requests.

Configure routes and first view

Once the project is up and running, the attendees will create their first route and view. They’ll launch the site and see Hello World displayed!

Next steps

Practice

With your first project created you can begin to further explore Django. You can see how to create models, modify data with the admin site, and use views and templates to display data.

Feedback

Be sure to give feedback about this workshop!

Code of Conduct