Django: Getting Started Transcripts
Chapter: Your First Django App
Lecture: Intro

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Alright, let's get going with your first Django project. This chapter will introduce you to the main concepts of Django.
0:07 I'll start by showing you how to use pip to install the Django framework,
0:11 then you'll use the Django admin command that comes with the framework to create a new project with your very own Django project in place,
0:19 you'll use its built in development server to see the default content. Then you'll write some code. I'm a traditionalist.
0:25 Where better to start than with Hello World, and of course it is considered good practice to write tests whenever you code.
0:32 Every chapter in this course will include a section on testing, showing you just how to write automated tests that goes with what you've learned.
0:39 This chapter will highlight the key testing concepts in Django and how they're built on top of Pythons Unit Test Library.
0:46 Django has been around for more than 15 years now and as you might imagine with that kind of history, there are lots of versions out there.
0:52 Each version of Django is tied to a number of Python versions. I'm going to be demonstrating using Python 3.10 and Django 4.0.2.
1:01 Very little of what I'm going to be showing you will need these versions. So if you're on a slightly older build, that shouldn't be a problem.
1:08 Django 4.0's minimum, Python version is Python 3.8. So if you're going to use Django 4.0 along with me, you'll need at least Python 3.8.
1:18 You can probably get away with a version three of Django without seeing any differences.
1:22 But I'll be using 4.0, and it's always a good idea when you're installing third party libraries in Python to use a virtual environment.
1:30 Before continuing, you should set one up for yourself now.


Talk Python's Mastodon Michael Kennedy's Mastodon