summaryrefslogtreecommitdiff
path: root/examples/todo_sql
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-04-22 03:11:58 +0000
committerianb <devnull@localhost>2005-04-22 03:11:58 +0000
commit7752a3102fc8aa68ee7e349495bc2e9345c77c00 (patch)
tree7896dd31404fdfbba44d9c0338a7c1ae8e4ad5f8 /examples/todo_sql
parent4431828c677e6104b7abc62b31a933d2793ff6cf (diff)
downloadpaste-7752a3102fc8aa68ee7e349495bc2e9345c77c00.tar.gz
Internal renaming of wsgikit->paste
Diffstat (limited to 'examples/todo_sql')
-rw-r--r--examples/todo_sql/__init__.py2
-rw-r--r--examples/todo_sql/web/__init__.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/todo_sql/__init__.py b/examples/todo_sql/__init__.py
index 39d0c09..3415d9d 100644
--- a/examples/todo_sql/__init__.py
+++ b/examples/todo_sql/__init__.py
@@ -1,4 +1,4 @@
-from wsgikit.util.thirdparty import add_package
+from paste.util.thirdparty import add_package
add_package('ZopePageTemplates')
add_package('Component')
diff --git a/examples/todo_sql/web/__init__.py b/examples/todo_sql/web/__init__.py
index 835887d..ed4edc7 100644
--- a/examples/todo_sql/web/__init__.py
+++ b/examples/todo_sql/web/__init__.py
@@ -1,6 +1,6 @@
import os
-from wsgikit import wsgilib
-from wsgikit.util.thirdparty import add_package
+from paste import wsgilib
+from paste.util.thirdparty import add_package
add_package('sqlobject')
import sqlobject
@@ -12,6 +12,6 @@ def urlparser_hook(environ):
environ['todo_sql.base_url'] = environ['SCRIPT_NAME']
if not sql_set:
sql_set = True
- db_uri = environ['wsgikit.config']['database']
+ db_uri = environ['paste.config']['database']
sqlobject.sqlhub.processConnection = sqlobject.connectionForURI(
db_uri)