fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
wip: file upload exercise
[edumed.git]
/
edumed
/
settings.py
1
import os.path
2
import glob
3
4
conffiles = glob.glob(os.path.join(
5
os.path.dirname(__file__), 'settings.d', '*.py'))
6
conffiles.sort()
7
for f in conffiles:
8
execfile(os.path.abspath(f))
9
10
try:
11
execfile(os.path.abspath(os.path.join(
12
os.path.dirname(__file__), 'localsettings.py')))
13
except IOError:
14
pass