Course info
Rating
(20)
Level
Beginner
Updated
Feb 4, 2020
Duration
1h
Table of contents
Setup
1h
Add User Authentication
30m
Add Blog Posts Model
30m
Add Tag Model
30m
Description
Course info
Rating
(20)
Level
Beginner
Updated
Feb 4, 2020
Duration
1h
Your 10-day individual free trial includes:

Expanded library

This course and over 7,000+ additional courses from our full course library.

Hands-on library

Practice and apply knowledge faster in real-world scenarios with projects and interactive courses.
*Available on Premium only
Description

In this Project you’ll follow along with our instructions to add Django models to a blog.

  1. Start with a basic blog that has static data and refactor it to use a persistent post model.
  2. Create a user app with a user model that extends Django's UserAdmin model to provide authentication.
  3. Replace existing static blog post data with a Blog Post model that is connected to a database.
  4. Add features to the blog by adding “tags” and a user models that relate to the post model.
Course FAQ
Course FAQ
What are models in Django used for?

Models are how Django apps access and manage data. Once you've set up a model for your app, it acts as a middle man - drawing from the database for you.

Who is this project for?

This project is great for starting Python Django developers looking to build better, smarter, and faster.

What will I learn in this project?

In this project, we will create a simple app to add various Django models to - including UserAdmin for authentication, a database-connected blog post model, and a taag model to interact with the blog post model.

What prerequisites do I need?

This is a beginner-level project but you will want to have at least a basic knowledge of Python's Django framework.

About the author
About the author

Will Holderness is the Vice President of Product for UniKey Technologies in Orlando, Florida. He has a Master's degree and Bachelor's degree in Computer Engineering from University of Central Florida. Will is a firmware engineer at heart but also has experience doing mobile app, frontend, and backend web development in various languages.