Changeset 2895 for CenterRegistry/trunk/settings.py
- Timestamp:
- 05/16/13 12:52:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CenterRegistry/trunk/settings.py
r2807 r2895 1 1 # Django settings for CenterRegistry project. 2 3 import os 2 4 3 5 #for repository we had to have: … … 5 7 #DEBUG = False 6 8 7 #DEBUG = True8 DEBUG = False9 DEBUG = True 10 #DEBUG = False 9 11 TEMPLATE_DEBUG = DEBUG 10 12 … … 45 47 USE_I18N = True 46 48 47 # If you set this to False, Django will not format dates, numbers and 48 # calendars according to the current locale 49 # If you set this to False, Django will notq 49 50 USE_L10N = True 50 51 … … 62 63 # in apps' "static/" subdirectories and in STATICFILES_DIRS. 63 64 # Example: "/home/media/media.lawrence.com/static/" 64 STATIC_ROOT = ''65 #STATIC_ROOT = '' 65 66 67 PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) 68 STATICFILES_DIRS = ( 69 os.path.join(PROJECT_DIR, 'media/'), 70 ) 71 72 STATIC_ROOT= os.path.join(PROJECT_DIR,'static/') 73 #STATIC_ROOT= '/static/' 66 74 # URL prefix for static files. 67 75 # Example: "http://media.lawrence.com/static/" … … 99 107 ) 100 108 109 101 110 MIDDLEWARE_CLASSES = ( 102 111 'django.middleware.common.CommonMiddleware', … … 133 142 ) 134 143 144 135 145 INSTALLED_APPS = ( 136 146 'django.contrib.auth', … … 145 155 'django.contrib.admindocs', 146 156 'django.contrib.staticfiles', 147 'centerregistry', 157 'centerregistry', 148 158 'south' 149 159 )
Note: See TracChangeset
for help on using the changeset viewer.