Django: Getting Started Transcripts
Chapter: Receiving Uploads in Django
Lecture: Creating an upload directory and migrating DB changes

Login or purchase this course to watch this video and the rest of the course contents.
0:00 First off, I'll create the directories that I told setting.py would exist. Now, I'll create the migration file for the changes to author.
0:21 Oops. Remember when I told you that image field requires a third party library. Time to install that now.
0:31 It's called pillow and it's an awesome image manipulation library. If you haven't played with it before, I suggest going and taking a look.
0:38 It is really handy if you want to do image thumbnails and the like. Django uses it to validate that a file is actually an image and to support certain
0:46 metadata, like the image dimensions. With that installed, let's try to make migrations again. That's better now to migrate and you're good to go.


Talk Python's Mastodon Michael Kennedy's Mastodon