From 6dca31fffb9dd52014a85e01c30a142b933d86ef Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 20 Jan 2011 17:27:34 -0600 Subject: fixed paths in cron script and bugs in blog models, got rid of flatpages --- cron/sync_links.py | 10 +++++----- cron/sync_photo_sets.py | 9 +++++---- cron/sync_photos.py | 12 ++++++------ 3 files changed, 16 insertions(+), 15 deletions(-) (limited to 'cron') 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 -- cgit v1.2.3-70-g09d2