Anand thank you, It resolved the error.


On 1 August 2012 14:07, Anand Chitipothu <[email protected]> wrote:

> On Wed, Aug 1, 2012 at 6:17 PM, Ayodele Akingbulu
> <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to