~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-01-22 00:31:16 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:259
setup.py: Added a new config variable "public_host", which lets the admin set
a special hostname for "public mode" IVLE.
apps.py: Added a new config variable "public_app": which app to use in public
mode.
dispatch: Request has a new variable, "publicmode" (determines whether the
public host was used), and the dispatcher now automatically calls the public
app if public mode is turned on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# Note that if this app requires authentication, the user will first be
32
32
# presented with the login screen.
33
33
default_app = "files"
 
34
# Which application to use for "public host" URLs.
 
35
# (See conf.py)
 
36
public_app = "serve"
34
37
 
35
38
# Application definitions
36
39