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

« back to all changes in this revision

Viewing changes to lib/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-02-29 01:18:22 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:621
Added 2 new apps: home and subjects. Both fairly incomplete, just a basic
    skeleton.
    "home" is the new default app, replacing "files".
    (It has a link to files).

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# of the site). This is the app's URL name.
33
33
# Note that if this app requires authentication, the user will first be
34
34
# presented with the login screen.
35
 
default_app = "files"
 
35
default_app = "home"
36
36
# Which application to use for "public host" URLs.
37
37
# (See conf.py)
38
38
public_app = "serve"
127
127
                    requireauth = True,
128
128
                    hashelp = False)
129
129
 
 
130
app_subjects = App(dir = "subjects",
 
131
                    name = "Subject Homepages",
 
132
                    requireauth = False,
 
133
                    hashelp = False)
 
134
 
 
135
app_home = App(dir = "home",
 
136
                    name = "Home",
 
137
                    requireauth = True,
 
138
                    hashelp = False)
 
139
 
130
140
# Mapping URL names to apps
131
141
 
132
142
app_url = {
145
155
    "settings" : app_settings,
146
156
    "userservice" : app_userservice,
147
157
    "diff" : app_diff,
 
158
    "subjects" : app_subjects,
 
159
    "home" : app_home,
148
160
}
149
161
if enable_debuginfo:
150
162
    app_url["debuginfo"] = app_debuginfo