- Level Foundation
- Duration 45 hours
- Course by Meta
-
Offered by
About
It's time to build something bigger. In this course, you will use the Django web framework to build, secure and administer a web server. You will have the opportunity to create, design and configure a web app using the Django framework in-line with best practices. Explore the usage of models in Django and their relationship to databases. Use views to render requested data to meaningful template structures for a composed user interface (UI). Implement proactive security practices and mitigate common security risks. B"y the end of the course you will be able to: - Design a Django web application using Python, HTML and CSS. - Describe and implement the HTTP request response cycle by creting views, routes and templates. - Describe and build a data model to create database tabless and dynamic web forms. - Explore the Django Template Language to create dyanamic webpages that display data stored in a database. - Create, share and test your web application by using industry standard best practice and guidelines. To succeed in this course, you are required to have a fundamental knowledge of the following: HTML and CSS Python MySQL You also require basic internet navigation skills and an eagerness to get started with coding in Django!Modules
Course Introduction
1
Discussions
- What do you hope to learn?
3
Videos
- Introduction to Django Web Framework
- What is Django?
- How is Django used in the real world?
8
Readings
- Course syllabus
- How to be successful in this course
- Installing Python (optional for Windows users)
- Installing Python (optional for Mac users)
- Setting up a project in VS Code
- Working with virtual environments on your local machine
- Working with labs in this course
- Additional resources
Projects and Apps
1
Assignment
- Knowledge check: Projects and Apps
2
Videos
- Projects and Apps overview
- Creating your first project
1
Readings
- Project Structure
Admin and structures
2
Assignment
- Self-review: Creating your first project and app
- Knowledge check: Applications
1
Discussions
- What challenges did you encounter while creating your first Django app?
1
Labs
- Exercise: Creating your first project and app
2
Videos
- Django-admin & manage.py commands
- Creating an App
2
Readings
- App structures
- Solution: Creating your first project and app
Web Frameworks and MVT
2
Assignment
- Knowledge check: Web Frameworks and MVT
- Module Quiz: Introduction to Django
3
Videos
- What is a web framework?
- MVT Example
- Module summary: Introduction to Django
2
Readings
- MVT Overview
- Additional resources
Views
2
Assignment
- Self-review: Creating a view and URL configuration
- Knowledge check: Views
1
Labs
- Exercise: Creating a view and URL configuration
3
Videos
- Views
- Creating views and mapping to URLs
- Creating views and view logic
2
Readings
- View logic
- Solution: Creating a view and URL configuration
Requests and URLs
2
Assignment
- Self review: Mapping URLs with Params
- Knowledge check: Requests and URLs
1
Discussions
- What challenges did you encounter while working with Requests and URLs?
1
Labs
- Exercise: Mapping URLs with Params
4
Videos
- HTTP requests
- Creating Requests and Responses
- Understanding URLs
- Mapping URLs with Params
4
Readings
- Request and Response Objects
- Parameters
- Solution: Mapping URLs with Params
- Additional resources
Creating URLs and Views
3
Assignment
- Self review: Creating URLs and Mapping to Views
- Knowledge check: Handle errors in Views
- Module Quiz: Views
1
Labs
- Exercise: Creating URLs and Mapping to Views
5
Videos
- Regular expressions in URLs
- Error Handling
- Demo: Handle errors in views
- Class-based views
- Module summary: Views
4
Readings
- URL Namespacing and Views
- Solution: Creating URLs and Mapping to Views
- Handling Errors in Views
- Additional resources
Models & Migrations
3
Assignment
- Self review: Ungraded Lab – Models and migrations
- Self Review: Models using Foreign Keys
- Knowledge Check: Models & Migrations
1
Discussions
- Do you think using migrations will save you time in your development workflow? Why?
2
Labs
- Exercise: Models and migrations
- Exercise: Models using Foreign Keys
7
Videos
- Models
- Creating models
- Migrations
- Working with Migrations
- A history of changes
- Models using Foreign Keys
- Using ORM
6
Readings
- Model relationships
- How to use migrations
- Solution: Ungraded Lab – Models and migrations
- Solution: Models using Foreign Keys
- Object Relationship Mapping - ORM
- Additional resources
Models and Forms
2
Assignment
- Self review: Working with Forms
- Knowledge Check: Model and Forms
1
Labs
- Exercise: Working with Forms
4
Videos
- Forms
- Working with Django form fields and data types
- Creating Forms
- Model Form
4
Readings
- Django fields
- Form API
- Solution: Working with Forms
- Additional resources
Admin
2
Assignment
- Self-Review Using Django Admin
- Knowledge Check: Admin
1
Labs
- Exercise: Using Django Admin
4
Videos
- Django Admin
- Adding groups and users
- Permissions
- Users and Permissions
4
Readings
- Managing users in Django Admin
- Enforcing Permissions
- Solution: Using Django Admin
- Additional resources
Database Configuration
3
Assignment
- Self-review: Connecting to a database
- Knowledge Check: Database Configuration
- Module Quiz: Models
1
Labs
- Exercise: Connecting to a Database
3
Videos
- Database options
- Setting up a MySQL connection
- Module summary: Models
3
Readings
- Configuring MySQL Connection
- Solution: Connecting to a Database
- Additional resources
Templates
2
Assignment
- Self-review: Creating Templates
- Knowledge check: Templates
1
Labs
- Exercise: Creating Templates
2
Videos
- Templates
- Creating Templates
2
Readings
- Template Examples
- Solution: Creating Templates
Working with Templates
3
Assignment
- Self review: Creating Dynamic Templates
- Self-review: Working with Templates
- Knowledge check: Working with Templates
2
Labs
- Exercise: Creating Dynamic Templates
- Exercise: Working with Templates
5
Videos
- Working with template language
- Dynamic Templates in Django
- Mapping model objects to a template
- Template inheritance
- Working with Template inheritance
4
Readings
- Template Language and Variable Interpolation
- Solution: Creating Dynamic Templates
- More on Template inheritance
- Solution: Working with Templates
Debugging and testing
1
Assignment
- Module Quiz: Templates
3
Videos
- Debugging Django applications
- Testing in Django
- Module summary: Templates
2
Readings
- Sub-classing Generic Views
- Additional resources
Graded Assessment
1
Assignment
- Final graded quiz: Django Web Framework
1
Peer Review
- Peer review rubric: Design and Build a simple Django app
1
Discussions
- What challenges did you encounter while creating your Django app?
2
Labs
- Design and build a simple Django app
- Peer review sandbox
4
Videos
- Course Recap for Django Web Framework
- Solution Part 1 - Create the menu page
- Solution Part 2 - Create the menu item page
- Solution Part 3 - How to create the footer
2
Readings
- About the final graded project assessment for Django Web Framework
- Solution code
Course wrap up
1
Discussions
- Reflect on learning: What did you find most valuable in the course?
1
Videos
- Congratulations!
1
Readings
- Next steps after Django Web Framework
Auto Summary
Discover Django Web Framework, a foundational course in IT & Computer Science instructed by Coursera. Learn to build, secure, and manage web servers using Django. The curriculum covers models, views, templates, and security practices. With 2700 minutes of content, gain skills in Python, HTML, CSS, and MySQL. Subscription options include Starter, Professional, and Paid tiers. Ideal for those eager to advance their web development expertise.

Taught by Meta Staff