diff options
author | luxagraf <sng@luxagraf.net> | 2011-01-20 17:27:34 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-01-20 17:27:34 -0600 |
commit | 6dca31fffb9dd52014a85e01c30a142b933d86ef (patch) | |
tree | 46aabfc9fc34d74a6829eca10d6ded46dfd25e88 /cron | |
parent | 5a358a9ad5fc93c0db894e5e075b992f8b4e0cbd (diff) |
fixed paths in cron script and bugs in blog models, got rid of flatpages
Diffstat (limited to 'cron')
-rw-r--r-- | cron/sync_links.py | 10 | ||||
-rw-r--r-- | cron/sync_photo_sets.py | 9 | ||||
-rw-r--r-- | cron/sync_photos.py | 12 |
3 files changed, 16 insertions, 15 deletions
diff --git a/cron/sync_links.py b/cron/sync_links.py index e516bfe..ba1ee8f 100644 --- a/cron/sync_links.py +++ b/cron/sync_links.py @@ -1,10 +1,10 @@ import sys, os -sys.path.append('/home/luxagraf/webapps/django1_2') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/apps') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib/utils') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/apps') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib/utils') sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' diff --git a/cron/sync_photo_sets.py b/cron/sync_photo_sets.py index 1f93a82..0b5dcc8 100644 --- a/cron/sync_photo_sets.py +++ b/cron/sync_photo_sets.py @@ -1,9 +1,10 @@ import sys, os -sys.path.append('/home/luxagraf/webapps/django1_2') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/apps') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/apps') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib/utils') sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' diff --git a/cron/sync_photos.py b/cron/sync_photos.py index 06f7156..5d9cfc2 100644 --- a/cron/sync_photos.py +++ b/cron/sync_photos.py @@ -1,11 +1,11 @@ import sys, os -sys.path.append('/home/luxagraf/webapps/django1_2') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/apps') -sys.path.append('/home/luxagraf/webapps/django1_2/lib/python2.6/') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib') - +sys.path.append('/home/luxagraf/webapps/django124/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/apps') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib') +sys.path.append('/home/luxagraf/webapps/django124/luxagraf/luxagraf/lib/utils') +sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from photos import retriever |