forked from expo/troggle
[svn] Further attempts to make troggle work on windows using surveys stored on an external server
settings.PHOTOS changed to setting.PHOTO_ROOT Made databaseReset.py get info from external server if appropriate (hope this did not break linus disk based scripts) Still needs more work, to get everything working Auto create photos directory if it does not already exist Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8262 by julian @ 3/2/2009 1:30 AM
This commit is contained in:
@@ -17,6 +17,10 @@ user.is_staff = True
|
||||
user.is_superuser = True
|
||||
user.save()
|
||||
|
||||
#Make directories that troggle requires
|
||||
if not os.path.isdir(settings.PHOTOS_ROOT):
|
||||
os.mkdir(settings.PHOTOS_ROOT)
|
||||
|
||||
import parsers.cavetab
|
||||
parsers.cavetab.LoadCaveTab()
|
||||
import parsers.people
|
||||
|
||||
Reference in New Issue
Block a user