Skip to content

Instantly share code, notes, and snippets.

@julienb74
julienb74 / settings.py
Created July 27, 2011 13:19
The default settings.py I use in all my Django 1.2 and 1.3 projects. It already depends on Django South and the Django Debug Toolbar. It doesn't use the new static media handling of Django 1.3. This file is inspired by Martin Mahner. (http://www.mahner.or
# -*- coding: utf-8 -*-
import os
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
PROJECT_NAME = os.path.split(PROJECT_ROOT)[-1]
# -- DEBUG -----------------------------------------------------------------------------------------
DEBUG = True