Lecture: 23-inspecting-models

April 6, 2026

Checkpoints

[]
This indicates the user is not authenticated or the content is paywalled.

Content

Inspecting what we added

Our First Models

Let's go back through homepage/blog/models.py to better understand what we did and why. The first part of the code simply imports the modules and classes we will need in the rest of models.py. We import django's models module, settings module, and the User class that defines django user types. Finally, we import the python-markdown package with import markdown. This module will help us convert markdown-based text into

This Content is Locked

This content requires a subscription. Please sign in to view your subscription options

Info

Status: Released
Paywall: Paywalled
video: None
free_video: None
authenticated: False
can view paywalled content: False