The purpose of djtpl is to provide a much faster and more robust starting project structure.

It includes the following, preconfigured using settings.py:

  • Centralized directory for templates
  • Centralize directory for static files (js, css, and images)
  • Pre-configured base URL file
  • Placement for uploads (corresponds to MEDIA_ROOT)

See also: Tools Included

Annotated Directory Structure

my_project (base)
..assets
....themes
......my_project
........static (css, js, images)
........templates (all site templates belong here)
....uploads (MEDIA_ROOT)
..my_project (base django app)
....local_settings.template.py (rename this to "local_settings.py")
....settings.py
....urls.py
..manage.py
..requirements.txt