I'm trying to use a single to many relational database in this web
app. I made sure that my spacing is ok but still can't find the
issue. Thank ahead of time for your help.
404 Not Found
The path '/' was not found.
Page handler: "The path '/' was not found."
Traceback (most recent call last):
File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 105, in _run
self.main()
File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 246, in main
page_handler, object_path, virtual_path =
self.mapPathToObject(path)
File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 312, in mapPathToObject
raise cherrypy.NotFound(objectpath)
NotFound: 404
import logging
import cherrypy
from docutils.core import publish_parts
import turbogears
from turbogears import controllers, expose, validate, redirect
from brokerconduit import json
from brokerconduit.model import Service
class Root(controllers.RootController):
@expose(template="brokerconduit.templates.home")
def home(self , servicename="BrokerConduit"):
service = Service.byServicename(servicename)
return dict(service=service)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---