Editor: automatically convert pasted urls to attachments to a proper links with ...
[redakcja.git] / redakcja.wsgi.template
index d271fa1..2d10ac3 100644 (file)
@@ -14,10 +14,12 @@ sys.stdout = sys.stderr
 sys.path = [
     '$APP_DIR',
        '$APP_DIR/lib',
 sys.path = [
     '$APP_DIR',
        '$APP_DIR/lib',
+       '$APP_DIR/lib/librarian',
        '$APP_DIR/apps',
 ] + sys.path
 
 # Run Django
        '$APP_DIR/apps',
 ] + sys.path
 
 # Run Django
+os.environ["CELERY_LOADER"] = "django"
 os.environ['DJANGO_SETTINGS_MODULE'] = '$PROJECT_NAME.settings'
 
 from django.core.handlers.wsgi import WSGIHandler
 os.environ['DJANGO_SETTINGS_MODULE'] = '$PROJECT_NAME.settings'
 
 from django.core.handlers.wsgi import WSGIHandler