Build GenAI Apps from Scratch — UCSB PaCE Certificate Program
Get 20% off all career paths from fullstack to AI
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn how to add a custom form to a Django project for creating new posts and uploading images in this 27-minute tutorial. Create a custom form, add it to a template, handle form submissions, update the post model, and implement image uploads. Follow along to enhance your Django skills, practice saving posts with different authors, and make final project updates. Gain insights into deployment considerations for your Django application.
Syllabus
Intro
Welcome
Getting Started
Create a Custom Form
Add the Custom Form to a template
Viewing the New Form
Handling Form Submissions
Testing the Form Submission
Updating the Post Model
Student Challenge
Updating the Posts List
Saving the New Post with an Author
Creating Posts with different Authors
Final Project Updates & Changes
Deployment Thoughts
Taught by
Dave Gray