Lesson 49 of 55
PythonIntroduction to Django
20 minutes
Course progress89%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 49 of 55
Python20 minutes
Keep these ideas in mind as you work through the lesson.
Django is a batteries‑included web framework that follows the model‑view‑template (MVT) pattern. It ships with an ORM, admin interface, authentication system, and more.
# Install Django (preferably in a virtual env)
pip install Django
# Create a new project called `mysite`
django-admin startproject mysite
cd mysite
# Run the development server
python manage.py runserver
Open http://127.0.0.1:8000/ in your browser to see Django’s welcome page.