import sys, os sys.path.append('/home/luxagraf/webapps/django') sys.path.append('/home/luxagraf/webapps/django/luxagraf') sys.path.append('/home/luxagraf/webapps/django/luxagraf/apps') sys.path.append('/home/luxagraf/webapps/django/luxagraf/lib') sys.path.append('/home/luxagraf/webapps/django/lib/python2.5/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from photos import utils utils.sync_sets()