Django: Getting Started Transcripts
Chapter: Deploying Django Webapps
Lecture: Deployment considerations
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
I've said it a few times before, but it bears repeating. The development server isn't hardened and is not meant for anything but development.
0:08
In production Django uses either the WSGI or a WSGI interface to connect to a web server.
0:16
WSGI stands for web server gateway interface and does what the name implies, acting as an interface between your Python code,
0:25
Django in this case and the web server. Think back a couple of chapters where I discussed the various types of content in your project.
0:33
There are Django views that spit out Web pages, static content like CSS, javascript, and images and files uploaded by your users,
0:44
which Django calls media. Each of these is handled a little differently and when you're
0:49
deploying to a production server, you'll need to configure them appropriately.