1 Blog Entry for June 2008


Django and Relativity

  • June 20th, 2008 (1 year, 8 months ago)

My default Django settings file has changed over time to now include settings that do not depend on the location of the project on the filesystem. This is great in a team environment where more than one person is working on the same project, or when deploying your project to a web server that likely has different paths to the project root directory.

There are essentially 2 places that are looking for a filesystem path:

  1. Templates
  2. Media

Let's assume the following directory structure for a Django project:

Example directory structure

Example Django project directory structure

Project Root

One of the first things ...

Read the rest »

About this entry

Date Posted:
June 20th 2008 at 3:06:01 PM

Tagged:
django