Changeset 14158
- Timestamp:
- 04/27/12 16:20:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt/sara_cmt/settings.py
r14157 r14158 38 38 gethostbyname_ex( DATABASE_HOST ) 39 39 except socket.gaierror, details: 40 print 'Unable to resolv database host: %s' %DATABASE_HOST40 print 'Unable to resolve database host: %s' %DATABASE_HOST 41 41 print 'Exiting.' 42 42 sys.exit(1) … … 173 173 #TODO: think about a (better) way to make this dynamic: 174 174 #TODO: get this out of the settings.py, since it should be in the client config 175 import site 176 CMT_TEMPLATES_DIR = '%s/etc/templates' % site.sys.prefix 175 CMT_TEMPLATES_DIR = '%s/etc/cmt/templates' % site.sys.prefix 177 176 178 177 # Templates for the CMT web-frontend.
Note: See TracChangeset
for help on using the changeset viewer.