Writing Your First Django App (DSF101)
This beginner-level Django course is adapted from the Django Software Foundation's Writing your first Django app tutorial. Webucator is a sponsor of the DSF and the creation of this free course is done with their approval, but we are not affiliated with the DSF in any way.
How is this course different from the Django Project tutorial?
In addition to the step-by-step instructions, it includes video walkthroughs of all the code and additional tips and tricks along the way.
Copyright © Django Software Foundation and individual contributors. All rights reserved.
- Learn to install the latest version of Django in a virtual environment.
- Create your first single-app Django project.
- Learn to use models to create and modify the database for your app.
- Learn to work with your app via the API at the interactive shell.
- Learn to create views and configure URLs.
- Learn to create and process forms.
- Learn how to quickly created list and detail views using Django's class-based views and templating system.
- Learn to write automated tests to prevent errors down the road.
- Learn to add static content (e.g., images and CSS) to your website.
- Discover the awesomeness of Django admin - Django's built-in admin site.
- Receive a certificate of completion verifying your completion of the course.
The video below shows the app you will build in the course.
- Adding Static Content
- Customize Your App’s Look and Feel
- Adding a background-image
- Static Files Review
- Creating Views
- Overview
- Views
- Writing More Views
- Write Views that Actually Do Something
- Raising a 404 Error
- Use the Template System
- Removing Hardcoded URLs in Templates
- Namespacing URL Names
- More Templates
- Creating a Django Project and App
- Getting Started
- Introducing the Polling App
- Installing Django in a Virtual Environment
- Installing Django
- The Project
- Creating a Project
- The Development Server
- Creating the polls App
- Creating the polls App
- Writing Your First View
- Customizing Django Admin
- Customize the Admin Form
- Adding Related Objects
- Customize the Admin Change List
- Customizing Django Admin Review
- Customize the Admin Look and Feel
- Customize the Admin Index Page
- What’s next?
- Form Processing and Code Simplification
- Write a Minimal Form
- Reviewing Form Processing
- Use Generic Views: Less Code is Better
- Reviewing Generic Views
- Testing
- Introducing Automated Testing
- Basic Testing Strategies
- Writing Our First Test
- Test a View
- Review Tests
- When Testing, More is Better
- Further Testing
- The Database and the Admin Site
- Project Settings and Migrating
- Database Setup
- Your Own Models
- Creating Models
- Activating Models
- Playing with the API
- Playing with the API
- Django Admin
- Introducing the Django Admin
Also, we encourage you to follow @webucator for offers and information about new courses and @natdunn for musings on Django, Python, and other technologies.
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors