diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:22:53 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:22:53 +0100 |
commit | 919c7e932a8e230a970efb8308e71bb10f15a6fb (patch) | |
tree | ba37f137e57688ead44292c71671434b66763262 /expo/models.py | |
parent | 9489fe56d9a916ff55ad8390c450819b3ad3f78b (diff) | |
download | troggle-919c7e932a8e230a970efb8308e71bb10f15a6fb.tar.gz troggle-919c7e932a8e230a970efb8308e71bb10f15a6fb.tar.bz2 troggle-919c7e932a8e230a970efb8308e71bb10f15a6fb.zip |
[svn] Fixes to deal with reorganization of expo surveys repository. Now that survey scans and Surveys.csv are in different directories, we have two settings variables, settings.SURVEYS for the root of the survey repo, and settings.SURVEY_SCANS for the surveyscans directory.
Fixed tab / indent muck in surveys parser. Commented out some "file abstraction" stuff for the time being.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8335 by cucc @ 5/10/2009 7:26 AM
Diffstat (limited to 'expo/models.py')
-rw-r--r-- | expo/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expo/models.py b/expo/models.py index 639e8b5..b7ad2d7 100644 --- a/expo/models.py +++ b/expo/models.py @@ -538,7 +538,7 @@ class Photo(TroggleModel): def __str__(self):
return self.caption
-scansFileStorage = FileSystemStorage(location=settings.SURVEYS, base_url=settings.SURVEYS_URL)
+scansFileStorage = FileSystemStorage(location=settings.SURVEY_SCANS, base_url=settings.SURVEYS_URL)
def get_scan_path(instance, filename):
year=instance.survey.expedition.year
print "WN: ", type(instance.survey.wallet_number), instance.survey.wallet_number
|