summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/paster.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py
index ad807d53f..a5cd63dfb 100644
--- a/pyramid/paster.py
+++ b/pyramid/paster.py
@@ -129,9 +129,12 @@ class PShellCommand(PCommand):
else:
# warn the user that this isn't actually the Pyramid app
warning = """\n
-WARNING: You have loaded a generic WSGI application, therefore the
-"root" and "registry" are not available. To correct this, run "pshell"
-again and specify the INI section containing your Pyramid application."""
+WARNING: You have loaded a generic WSGI application, therefore the "root",
+"registry", and "settings" global variables are not available. To correct
+this, run "pshell" again and specify the INI section containing your Pyramid
+application. For example, if your app is in the '[app:myapp]' config file
+section, use 'development.ini#myapp' instead of 'development.ini' or
+'development.ini#main'."""
closer = lambda: None
# load the pshell section of the ini file