Tuesday 2:50 p.m.–3:20 p.m.

Anatomy of a Django Project

Mark Lavin

Audience level:



Websites built with Django are built on "projects" which are composed of oneor more "apps". But what is a project really? This talk will dissect a Django project to understand which pieces are convention and which are required. It explain what if anything separates a project from an app and answer common questions about projects vs apps.


  • Intro/Welcome
  • The Structure of Django Sites
    • What is a project?
    • What is an app?
  • Default project layout
    • Folder structure
    • settings.py
    • urls.py
    • wsgi.py
    • manage.py
    • Project templates
  • Common questions
    • Where should site-wide templates/static resources live?
    • Should apps live inside the project?
    • Can a project have views?
    • Can a project have models?
  • What is a project (revisited)?
  • Conclusions