On Friday, March 18, 2016 at 2:21:24 PM UTC-7, Jeff Riley wrote:
>
> Sorry, edit is the function.  This URL does not call view.


>> I have my routes.py set to the application (a).

and the default controller ....

>   As far as what is request.args(0), that is what is confusing.  
>> That URL is generated by smartgrid.  Manage_customers is the controller, 
so customer should be the function but it is not. View is the function.  
>> This is why I am having trouble understanding how to grab the customer 
id and the sheet id 

If your original code paste is accurate, the controller is the file you 
have that in, and manage_customers is the function
(to use the Web2Py terminology).

It appears that request.arg[0] is "customer", request.arg[1] is 
"sheet.customer_id", etc.

But if your paste is accurate, you have errors in python in accessing 
elements of a list.

/dps


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to