0Pricing
Python Academy · Lesson

Projects and Apps

Structure a Django project.

What is Django?

Django is a batteries-included Python web framework. It bundles an ORM, admin site, templating, and more so you can build full-featured sites quickly. Install with pip install django.

import django
print('Django version:', django.get_version())

Projects vs Apps

Django separates two concepts:

  • A project is the whole website, with its settings.
  • An app is a reusable module inside it, like a blog or a shop.

One project contains many apps.

# project = the site
# app = a feature module within it
print('Project holds many apps')

All lessons in this course

  1. Projects and Apps
  2. Models and Migrations
  3. Views and URLs
  4. The Django Admin
← Back to Python Academy