Django: Getting Started Transcripts
Chapter: Your First Django App
Lecture: Your first django app

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Well, that's the grand tour of what gets created in the project. Let's go inside of the project.
0:08 I'm now in the project directory and now I will run the development server. I run the development server by using the runserver.
0:20 subcommand on the managed py copy of the Django admin. Running this does some checks on your project,
0:28 tells you what settings file is being used and what URL you can hit to use the server. By default Django hosts at local host port 8000.
0:39 Throughout this course you'll be using this development server It is your best bet for debugging your code and getting your web content looking
0:46 the way you like. Note though, this is a development server. It has not been hardened and in fact leaks all
0:52 sorts of information that you wouldn't want on the internet. This same stuff is helpful for debugging but could be considered a security issue.
1:00 If you're going to host something in public, you must not use this development server but hook your Django code up to something like Apache or Nginx.
1:08 Details on how to do this are outside the scope of this course. Alright with that warning aside, let's visit the URL
1:20 By default, Django shows you this rocket ship as you haven't written any other code yet. This is just here to show you the server is working.
1:28 It's a pretty rocketship, but get on top of replacing it with something else.

Talk Python's Mastodon Michael Kennedy's Mastodon