Django: Getting Started Transcripts
Chapter: Deploying Django Webapps
Lecture: Intro to deployment

Login or purchase this course to watch this video and the rest of the course contents.
0:00 In the previous chapter I showed you what happens behind the scenes when you run the make migrations and migrate commands in this chapter.
0:08 I'll walk you through some of the things you need to consider when deploying your code. Up until now you've been using the Django development server.
0:17 There's a clue in its name. It's meant for development. If you want to put something up for the public, you really shouldn't be using the DEV server,
0:24 so you'll need to do a few things to get Django working in a hosted environment.
0:27 There's a standard for interfacing with web servers and Python scripts called WSGI that Django uses.
0:35 There's also an asynchronous version of this called AWSGI. I'll give you a brief overview about how these wire your Django
0:44 application to your web server. And finally, there are some other things you need to be worried about, like managing your static files.
0:52 I'll walk you through that as well as some common deployment patterns.


Talk Python's Mastodon Michael Kennedy's Mastodon