Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons
  • Teach on BraveProgrammer

© 2026 BraveProgrammer. All rights reserved.

Introduction to Django | Python Fundamentals lesson | BraveProgrammer
  1. Courses
  2. /
  3. Python Fundamentals

Lesson 49 of 55

·Python

Introduction to Django

20 minutes

Course progress89%

What you'll learn

Keep these ideas in mind as you work through the lesson.

4 points
  • `django-admin startproject` creates the project skeleton.
  • `manage.py` is a utility for migrations, testing, and other tasks.
  • Django includes an ORM (`models`), automatic admin UI, and a secure auth system.
  • Configure URLs in `urls.py` and views in `views.py`.

Introduction to Django

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.

Make it stickPractice what you've learned1 quiz · 5 practical tests · Optional activities from Python FundamentalsBrowse activities
Previous lessonDatabase Access with SQLiteContinue to lesson 50Testing Flask APIsBack to Python Fundamentals curriculum