Home
About
Blog
Courses
Contact
More about Django
· Module 5 - Forms and user-generated content
5.3 File and image uploads
22 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
MEDIA_ROOT, MEDIA_URL and urlpatterns in dev
FileField, ImageField and Pillow
Generating thumbnails on save
Validating size, extension and content type
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 5.2 Comments with moderation
5.4 Formsets and inline forms →
After this lesson you will
Accept an image for every blog post
Serve uploaded files during development
Module 5
5.1
Form versus ModelForm
5.2
Comments with moderation
5.3
File and image uploads
5.4
Formsets and inline forms
5.5
The messages framework and CSRF