debianmacno-cupsweb
|
Last change
on this file since eafb5c5 was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100644
|
|
File size:
616 bytes
|
| Line | |
|---|
| 1 | """Main Controller""" |
|---|
| 2 | # standard library imports |
|---|
| 3 | |
|---|
| 4 | # turbogears imports |
|---|
| 5 | from tg import expose |
|---|
| 6 | #from tg import redirect, validate, flash |
|---|
| 7 | |
|---|
| 8 | # third party imports |
|---|
| 9 | #from pylons.i18n import ugettext as _ |
|---|
| 10 | #from repoze.what import predicates |
|---|
| 11 | |
|---|
| 12 | # project specific imports |
|---|
| 13 | from sipbmp3web.lib.base import BaseController |
|---|
| 14 | #from sipbmp3web.model import DBSession, metadata |
|---|
| 15 | |
|---|
| 16 | class SampleController(BaseController): |
|---|
| 17 | #Uncomment this line if your controller requires an authenticated user |
|---|
| 18 | #allow_only = authorize.not_anonymous() |
|---|
| 19 | |
|---|
| 20 | @expose('sipbmp3web.templates.index') |
|---|
| 21 | def index(self): |
|---|
| 22 | return dict(page='index') |
|---|
Note: See
TracBrowser
for help on using the repository browser.