On Wed, Aug 1, 2012 at 6:17 PM, Ayodele Akingbulu <a.m.akingbulu...@student.lboro.ac.uk> wrote: > Mu urls are defined this way: > > # Link classes to url on the server > urls = ('/homesensor.com/(.*)', 'Sensor' > '/sensor/', Sensor, #Links Sensor class to /sensor > '/location', HS_Location # Links HS_Location class to /location > )
The second part should be a string like "HS_Location", not a class like HS_Location. If it is defined in a different module, then you can specify it as "modulename.classname". Anand -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.