Login

Settings file pre

Author:
beresovskiy
Posted:
April 21, 2012
Language:
Python
Version:
1.4
Tags:
settings
Score:
-1 (after 1 ratings)

Help setting up directories

1
2
3
4
5
import os

DEBUG = True
TEMPLATE_DEBUG = DEBUG
root = os.path.abspath(os.path.dirname(__file__))

More like this

  1. modular settings / site settings by mfechtner 4 years, 8 months ago
  2. Settings file switcher by anton 6 years, 11 months ago
  3. Paths in Django settings relative to settings.py by zejn 7 years, 4 months ago
  4. Template Tag for Retrieving Settings by joshua 8 years ago
  5. local_settings override for project settings by Magus 6 years, 11 months ago

Comments

Please login first before commenting.