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, 9 months ago
  2. Settings file switcher by anton 7 years ago
  3. Paths in Django settings relative to settings.py by zejn 7 years, 5 months ago
  4. Template Tag for Retrieving Settings by joshua 8 years, 1 month ago
  5. local_settings override for project settings by Magus 7 years ago

Comments

Please login first before commenting.