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 |
- Skills
- Ability to create HTML pages
- Intermediate Python
- Inheritance
- Package management
- Virtual environments
- Software
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.
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.
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.
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!
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.
Be sure to give feedback about this workshop!